Dear developers,

I have compared before-after this patch two of my programs running on a Mac:

On a client calling an external server (thus most of the time waiting for a 
response) I noted a 5% time saving from 4000 assertions.

On a text parser I noted an 8% time improvement when parsing 11000 files.

Both programs are non-optimized,  pure (oo)Rexx code programs, no BSF involved 
+ no side effects whatsoever.

Impressive!

Hälsningar/Regards/Grüsse,
P.O. Jonsson
[email protected]




> Am 21.03.2018 um 13:56 schrieb Rony G. Flatscher <[email protected]>:
> 
> On a new Linux machine the new ooRexx 5.0 code allows for impressive 
> 1,670,000 external function calls/second!
> 
> ---rony
> 
> On 21.03.2018 12:52, Rony G. Flatscher wrote:
>> With <http://sourceforge.net/p/oorexx/code-0/11375> 
>> <http://sourceforge.net/p/oorexx/code-0/11375> Rick's speed improvement 
>> patch was applied to ooRexx 5.0 trunk, which are significant in at least 
>> calling routines, especially external routines, but also looking up classes 
>> and environment symbols if not mistaken.
>> 
>> However, when having Rexx applications that use external functions/routines 
>> the speed improvements are nothing but spectacular, e.g.:
>> Calling some external function "bsfTestPing" 100.000 times (will return 
>> immediately to Rexx)
>> in the previous version of ooRexx 5.0beta on an older Windows computer: 
>> appr. 17.000 calls/second (each time a full resolution takes place)
>> in the latest version of ooRexx 5.0beta (from today's trunk) on the same 
>> older Windows computer: appr. 338,000 calls/second (caching resolved 
>> external functions) or a 20-fold (!) speed improvement!
>> Running a mix of test-units there could be a very notable overall 20% speed 
>> improvement observed. 
>> 
>> ---rony
>> 
>> P.S.: While working on the new version of BSF4ooRexx beta I applied some 
>> techniques that achieved very remarkable speed improvements on the Rexx side 
>> too which I will remove in a future version as the way the new ooRexx 5.0 
>> interpreter caches is even more efficient, judging from an extensive set of 
>> tests! :)
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to