You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking at the performance of string concatenation because it's a large components of templating engines, such as ERB. I wrote up a simple benchmark for bench9000 that peforms most of the ERB operations, up until the point ERB would eval:
NB: I haven't investigated and it may be that one of the other operations, such as String#force_encoding is to blame. But String#concat is by far the most frequently called method in the benchmark.
The text was updated successfully, but these errors were encountered:
I've been looking at the performance of string concatenation because it's a large components of templating engines, such as ERB. I wrote up a simple benchmark for bench9000 that peforms most of the ERB operations, up until the point ERB would eval:
https://github.com/nirvdrum/bench9000/tree/erb
With JRuby 9.0.5.0, I'm seeing invokedynamic run at 57% the speed of the Java 6 JIT approach. The bench9000 scores:
NB: I haven't investigated and it may be that one of the other operations, such as
String#force_encoding
is to blame. ButString#concat
is by far the most frequently called method in the benchmark.The text was updated successfully, but these errors were encountered: