https://bz.apache.org/bugzilla/show_bug.cgi?id=65754

--- Comment #4 from Felix Schumacher <[email protected]> ---
In my tests, I used 'return "OK"' as the script content.

The Bean Shell sampler ticked at something about 50.000 req/s and the JSR223
Bean Shell at about 300 req/s.

The problem with JSR223 and Bean Shell seems to be, that the JSR223
implementation for Bean Shell is not getting cached/compiled and the
compilation is extremely expensive (the parser seems to be using exceptions to
control the flow of the parser and a class loader instance is set up for each
run).

You can get Bean Shell sampler almost equally slow, if you check the box to
reset Bean Shell on each iteration :)

I am not sure, whether it was faster in earlier versions of JMeter (I somehow
doubt it), but I still wonder, why anyone would choose Bean Shell over Groovy.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to