|
The "simple data structure" was just this: D Buffer DS D saBuffer 32767A ----- Original Message ----- From: "Richard B Baird" <rbaird@xxxxxxxxxxxxxxxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Sent: Wednesday, June 25, 2003 3:26 AM Subject: Re: scanning user space > > Wow. > > thanks for doing my benchmark for me Pete. you gotta love this list ;) > > could you elaborate a little on the 'simple data structure' bit for me? > > thanks again, > > Rick > > ----------original message------------ > <snip> > C. Using a 32Kb buffer (just a simple data structure in the program). This > needed about 500 reads. > > D. Using a 20-byte buffer. This needed over 800,000 reads. > > I ran 5 tests of each type and took the average elapsed time and CPU > seconds > used. > > The results were a surprise to me. > > A. 43.4 seconds elapsed 3.0 seconds CPU time. > B. 20.4 seconds elapsed 2.6 seconds CPU time. > C. 4 seconds elapsed 2 seconds CPU time. > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > > >
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.