Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Mustache.java benchmarks
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sam  
View profile  
 More options Jul 22 2011, 2:10 pm
From: Sam <spull...@gmail.com>
Date: Fri, 22 Jul 2011 11:10:38 -0700 (PDT)
Local: Fri, Jul 22 2011 2:10 pm
Subject: Mustache.java benchmarks
Did some benchmarking of MustacheBuilder and MustacheCompiler using
BenchmarkTest in the distribution. Also, there is a new JDK 7 branch
that uses MethodHandles rather than Reflection to call your backing
code. Here are the results:

                                MustacheBuilder                 Average
Reflection JDK 6        37,088  37,646  37,427  37,387
Reflection JDK 7        41,345  41,956  41,495  41,599
Method Handles          50,154  52,462  52,379  51,665

                                MustacheCompiler                        Average
Reflection JDK 6        35,238  35,086  34,824  35,049
Reflection JDK 7        40,078  40,081  40,032  40,064
Method Handles          41,362  46,629  44,222  44,071

What we see here is that Builder > Compiler, Handles > Reflection and
JDK 7 > JDK 6. Also, the compile time for Builder is around 10ms and
the compile time for Compiler is around 800ms. These tests were all
run on a 6-core MacPro using the latest JDK 6 from Apple and the
latest JDK 7 compiled from OpenJDK. With this result for JDK 7 I will
likely figure out a way to merge that change into the mainline and
still allow it to work with JDK 6.

Sam


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam  
View profile  
 More options Jul 24 2011, 7:46 pm
From: Sam <spull...@gmail.com>
Date: Sun, 24 Jul 2011 16:46:25 -0700 (PDT)
Local: Sun, Jul 24 2011 7:46 pm
Subject: Re: Mustache.java benchmarks
This functionality is now integrated into the mainline. It detects
whether method handles are available at runtime and uses them if they
are available.

Sam

On Jul 22, 11:10 am, Sam <spull...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »