|
Several week ago, List participants shared performance statistics pertaining to string handling in RPG, Java, and MI. Ken Slaugh shared an RPG code sample that did some simple string manipulation within a tight loop. So the work was entirely CPU bound. I ran a fully optimized copy of his program on my machine. The elapsed CPU time on his machine to run the program was 1260000 *MS. The elapsed time on my machine was 2100000 *MS. His machine had a CPW rating of 114. My machine had a CPW rating of 73. So there appeared to be a close correlation between machine CPW and program execution speed. Now I have learned that his machine has a 100 Mhz Apache processor, and my machine has a 200 Mhz Northstar processor. Why did it take my machine more CPU time to run the program? It was the only thing running at the time (other than normal Jobs, holding in a Wait state), so it was not affected by other Jobs. Thanks, Nathan. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.