New to ESP32; Question of Performance
Posted: Fri Dec 28, 2018 12:24 pm
I am evaluating an ESP32 via an Adafruit Huzzah ESP32 board using the Arduino IDE and Esspressif Systems Arduino Board Manager libraries.
I am looking at trying micropython on the board and, for giggles, ran a quickie benchmark just to see (off of https://github.com/micropython/micropyt ... erformance)
The results came back as 8,269,925 (repeatable within 5 counts). The Teensy 3.1: (96Mhz ARM), per the site, returned 95,835,923 counts. Wow ! I was expecting a lot more from a 240MHz processor.
Does this sound right ? Is there anything I can tweak on the Arduino side ? I am thinking I may need to use a GNU tool chain but wanted to run this by you guys first.
I am looking at trying micropython on the board and, for giggles, ran a quickie benchmark just to see (off of https://github.com/micropython/micropyt ... erformance)
Code: Select all
// this code is for testing Adafruit Huuzah ESP32 Feather
#include <Arduino.h>
#include "WiFi.h"
void setup() {
// turn off ESP32 radios to save battery
WiFi.mode(WIFI_OFF);
btStop();
Serial.begin(115200);
uint32_t endTime = millis() + 10000;
uint32_t count = 0;
while (millis() < endTime)
count++;
Serial.print("");
Serial.print("Count: ");
Serial.println(count);
}
void loop() {
}
Does this sound right ? Is there anything I can tweak on the Arduino side ? I am thinking I may need to use a GNU tool chain but wanted to run this by you guys first.