pce ->bench: message=message,
times=int, how={forward,execute,qad,send}Sends messages in a tight loop for benchmarking purposed. First argument
is the message that is executed repeatedly. Second argument is the
number of iterations. Last argument indicates which part of the message
invocation is placed in the loop. The rest is moved out of the loop. Its
values are:
- forward
- Invoke the full code
->forward
behaviour
- execute
- As pce
->forward, put pushing and popping
the argument stack outside the loop.
- send
- Invokes the full
send() virtual machine operation
- invoke
- Move method-resolution outside the loop. Typechecking the arguments and
starting the implementing code is all which is left inside the loop.
- See also
- pce
<-cpu_time