To squeeze a bit of performance REXX should be built with the   Interprocedural 
optimization (IPO)  activated

My tests showed an increase in performance between 5 and 8 %

Use the make module CheckIPOSupported 
And if supported define the property  for the relevant <modules>  
set_property( TARGET ……….  PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE )

( the Rexx executable, the rexx library , the rexxapi library , the rxapi  
executable the rexxc executable  )  

 pretty easy 

Cheers

E


> On 9 Aug 2020, at 14:24, René Jansen <rvjan...@xs4all.nl> wrote:
> 
> on behalf of James R. Manchester, xjmanc...@gmail.com 
> <mailto:xjmanc...@gmail.com> :
> 
> Is there something in ooRexx that limits its use of the CPU within Windows?  
> I have an application that should use 100% of the CPU but only manages about 
> 20%.  The following program runs for 60 seconds and it should use the CPU 
> continuously.  However, according to Task Manager, it doesn't quite use 22%.  
> What's limiting the use of the CPU?  Is there some setting which can be used 
> to change this behavior?
> 
> Regards,
> Jim Manchester
> 
> /* */
> 
> Duration = 60                --Number of seconds to execute.
> 
> Start = Time('S')            -- Get the start time.
> 
> i = 0
> do forever
>       a = 1234 * 24536
>       b = a / 25
>       c = a * b
>       Elapsed = Time('S') - Start
>       i += 1
>       if Elapsed > Duration then
>               leave
>       end
> 
> say 'There were' i 'iterations in ' Elapsed 'seconds.'
> 
> exit
> 
> 
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to