To see a bench mark, I wrote a code to compare the Teensy 3.0 to the Uno. It calculates sin() of 0 to 400.
Rather impressive difference!
Code:
[code]
float sinanswers[401];
unsigned long time1 = 0;
unsigned long time2 = 0;
void setup()
{
Serial.begin(9600); // USB is always 12 Mbit/sec
delay(1000);
Serial.print("Here");
delay(4000);
time1 = micros();
for (int i = 0; i < 400; i++)
{
sinanswers[i] = sin(i);
}
time2 = micros();
unsigned long elapsed = time2 - time1;
for (int i = 0; i < 400; i++)
{
Serial.println(sinanswers[i]);
Serial.print(" ");
Serial.println(i);
}
Serial.print("time elasped = ");
Serial.print(elapsed);
Serial.print(" micros");
}
void loop()
{
}
Results:
//time elasped = 29721 micros = teensy
//time elasped = 47436 micros = Uno
[/code]