JRuby invokedynamic updates for November
Stephen Bannasch
stephen.bannasch at deanbrook.org
Thu Dec 1 07:47:33 PST 2011
At 3:29 AM -0600 12/1/11, Charles Oliver Nutter wrote:
>This is a pretty disappointing finding. I'm not yet sure whether it's
>a bug in SwitchPoint optimization or in JRuby's use of SwitchPoint,
>but I'd like to see your numbers with and without this flag.
Latest JRuby master, on Java 1.6.0_27, macosx-port (1.7.0) amd mlvm (1.8.0)
Summary: without changing SwitchPoint mlvm performance is similar to 1.6.0_27 -- macosx-port (1.7.0) is about 50% slower onrexml test
Ruby version: jruby 1.7.0.dev (ruby-1.8.7-p352) (2011-12-01 586f44f) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_27) [darwin-x86_64-java]
user system total real
rexml 3.847000 0.000000 3.847000 ( 3.847000)
hpricot 0.458000 0.000000 0.458000 ( 0.458000)
jdom_document_builder 0.240000 0.000000 0.240000 ( 0.240000)
nokogiri 0.413000 0.000000 0.413000 ( 0.413000)
Ruby version: jruby 1.7.0.dev (ruby-1.8.7-p352) (2011-12-01 586f44f) (OpenJDK 64-Bit Server VM 1.7.0-internal) [darwin-x86_64-java]
user system total real
rexml 6.469000 0.000000 6.469000 ( 6.469000)
hpricot 0.522000 0.000000 0.522000 ( 0.522000)
jdom_document_builder 0.221000 0.000000 0.221000 ( 0.221000)
nokogiri 0.409000 0.000000 0.409000 ( 0.409000)
Ruby version: jruby 1.7.0.dev (ruby-1.8.7-p352) (2011-12-01 586f44f) (OpenJDK 64-Bit Server VM 1.8.0-internal) [darwin-amd64-java]
user system total real
rexml 4.093000 0.000000 4.093000 ( 4.094000)
hpricot 0.434000 0.000000 0.434000 ( 0.434000)
jdom_document_builder 0.226000 0.000000 0.226000 ( 0.226000)
nokogiri 0.441000 0.000000 0.441000 ( 0.441000)
Testing with: jruby -Xinvokedynamic.invocation.switchpoint=false
Summary: slightly faster on macosx-port (1.7.0), somewhat slower on mlvm
Ruby version: jruby 1.7.0.dev (ruby-1.8.7-p352) (2011-12-01 586f44f) (OpenJDK 64-Bit Server VM 1.7.0-internal) [darwin-x86_64-java]
user system total real
rexml 6.120000 0.000000 6.120000 ( 6.120000)
hpricot 0.555000 0.000000 0.555000 ( 0.555000)
jdom_document_builder 0.276000 0.000000 0.276000 ( 0.276000)
nokogiri 0.492000 0.000000 0.492000 ( 0.492000)
Ruby version: jruby 1.7.0.dev (ruby-1.8.7-p352) (2011-12-01 586f44f) (OpenJDK 64-Bit Server VM 1.8.0-internal) [darwin-amd64-java]
user system total real
rexml 4.580000 0.000000 4.580000 ( 4.580000)
hpricot 0.495000 0.000000 0.495000 ( 0.495000)
jdom_document_builder 0.251000 0.000000 0.251000 ( 0.252000)
nokogiri 0.496000 0.000000 0.496000 ( 0.496000)
More information about the mlvm-dev
mailing list