|
|
| Author |
Message |
FFMan
Joined: 09 Jan 2010
Posts: 223
|
|
Posted: 15 February 2010, 8:49 AM Post subject: Speed comparisons |
|
|
In terms of trying to compare executions speeds of various zx chips I see from the tables that the ratings are :-
ZX24a 175,000 ins/sec
328n 2.9m ins/sec
328l 1/4m ins/sec
are these instruction counts comparable or is there an offset to be applied as the 328 is native mode or is the 328n truly 16.5 times quicker that the zx24a ? |
|
| Back to top |
|
 |
mikep
Joined: 24 Sep 2005
Posts: 765
Location: Austin, TX
|
|
Posted: 15 February 2010, 14:38 PM Post subject: |
|
|
The 328n is twice as fast as the 328l because its clock speed is double. In general native mode devices are faster than their ZVM equivalent. This is because the code is compiled down to native AVR machine instructions rather than interpreting an intermediate language. In either case these devices are much faster than Basic Stamps.
The performance benchmark used for the quoted numbers is rather simplistic but is better than nothing. Performance can also degrade based on the amount of I/O and waiting/sleeping you do in your application. A more speed up is 1 to 4 times. |
|
| Back to top |
|
 |
FFMan
Joined: 09 Jan 2010
Posts: 223
|
|
Posted: 17 February 2010, 21:10 PM Post subject: |
|
|
| just running some simple math intensive loops the 328n is proving to be between 8 and 12 times faster - not very real world but it proves the raw pace is there which is good to know. |
|
| Back to top |
|
 |
|