Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jmh.version>1.11.2</jmh.version>
<jmh.version>1.12</jmh.version>
<uberjar.name>benchmarks</uberjar.name>

<pebble.version>2.2.0</pebble.version>
<mustache.version>0.9.1</mustache.version>
<pebble.version>2.2.2</pebble.version>
<mustache.version>0.9.2</mustache.version>
<freemarker.version>2.3.23</freemarker.version>
<velocity.version>1.7</velocity.version>
<thymeleaf.version>2.1.4.RELEASE</thymeleaf.version>
<thymeleaf.version>3.0.0.RELEASE</thymeleaf.version>
<junit.version>4.12</junit.version>
<trimou.version>1.8.2.Final</trimou.version>
<hbs.version>4.0.1</hbs.version>
<rocker.version>0.10.3</rocker.version>
<trimou.version>2.0.1.Final</trimou.version>
<hbs.version>4.0.5</hbs.version>
<rocker.version>0.12.0</rocker.version>
</properties>

<licenses>
Expand All @@ -47,8 +47,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down
16 changes: 8 additions & 8 deletions results.csv
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"Benchmark","Mode","Threads","Samples","Score","Score Error (99.9%)","Unit"
"com.mitchellbosecke.benchmark.Freemarker.benchmark","thrpt",1,50,15370.751504,496.200994,"ops/s"
"com.mitchellbosecke.benchmark.Handlebars.benchmark","thrpt",1,50,17779.570147,552.411776,"ops/s"
"com.mitchellbosecke.benchmark.Mustache.benchmark","thrpt",1,50,22164.070102,598.799830,"ops/s"
"com.mitchellbosecke.benchmark.Pebble.benchmark","thrpt",1,50,32530.043940,849.278116,"ops/s"
"com.mitchellbosecke.benchmark.Rocker.benchmark","thrpt",1,50,39739.408090,1152.244741,"ops/s"
"com.mitchellbosecke.benchmark.Thymeleaf.benchmark","thrpt",1,50,1084.191177,33.698132,"ops/s"
"com.mitchellbosecke.benchmark.Trimou.benchmark","thrpt",1,50,22787.431476,622.350790,"ops/s"
"com.mitchellbosecke.benchmark.Velocity.benchmark","thrpt",1,50,20835.819309,526.312411,"ops/s"
"com.mitchellbosecke.benchmark.Freemarker.benchmark","thrpt",1,50,13686.367975,104.101063,"ops/s"
"com.mitchellbosecke.benchmark.Handlebars.benchmark","thrpt",1,50,16529.718921,61.680900,"ops/s"
"com.mitchellbosecke.benchmark.Mustache.benchmark","thrpt",1,50,18205.776211,60.460295,"ops/s"
"com.mitchellbosecke.benchmark.Pebble.benchmark","thrpt",1,50,27008.164574,120.507591,"ops/s"
"com.mitchellbosecke.benchmark.Rocker.benchmark","thrpt",1,50,30551.762312,2160.524134,"ops/s"
"com.mitchellbosecke.benchmark.Thymeleaf.benchmark","thrpt",1,50,4982.081074,33.395445,"ops/s"
"com.mitchellbosecke.benchmark.Trimou.benchmark","thrpt",1,50,20238.324341,114.456902,"ops/s"
"com.mitchellbosecke.benchmark.Velocity.benchmark","thrpt",1,50,17607.674388,179.959328,"ops/s"
Binary file modified results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/resources/templates/stocks.thymeleaf.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h1>Stock Prices</h1>
<tbody>
<!--/* Note that itemStat.odd works with index (starting with 0) whereas itemStat.count is starting with 1 */-->
<tr th:each="item: ${items}"
th:class="${itemStat.odd}? 'even' : 'odd'">
th:class="${itemStat.even}? 'even' : 'odd'">
<td th:utext="${itemStat.count}"></td>
<td><a th:href="${'/stocks/' + item.symbol}"
th:utext="${item.symbol}"></a></td>
Expand Down