the esp32 s2 gets 12 MIops when clocked at 160 MHz
esp32 c3 (DIO) @ 160 MHz --- Add -> 17.6 MIops
esp32 (QIO) @ 240 MHz --- Add -> 18.39 MIops
esp32 s2 (QIO) @ 240 MHz --- Add -> 18.40 MIops
esp32 s3 (QIO) @ 240 MHz --- Add -> 23.88 MIops
Code i used to test them:
Code: Select all
void Add()
{
uint32_t AInt = 0;
uint32_t Num0 = 314;
Serial.println(" *** Add Time ***");
unsigned long clock0 = micros();
for(int i = 0; i < Loops;i++)
{
asm volatile("" : : : "memory"); // Prevent optimization
AInt = AInt + Num0;
}
float pclock = (micros() - clock0);
Iops = mtime / pclock;
AInt -= 10;
//Serial.print(pclock);
Serial.print("Final Value: ");
Serial.println(AInt);
Serial.print(Iops);
Serial.println(" MIops");
}