Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
Speed comparisons

 
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode
Author Message
FFMan



Joined: 09 Jan 2010
Posts: 223

Posted: 15 February 2010, 8:49 AM    Post subject: Speed comparisons Reply with quote

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: Reply with quote

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: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Native Mode Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group