From b7ace8e03351a1f1271b306557d37f25090db544 Mon Sep 17 00:00:00 2001 From: Jaroslav Tulach Date: Sat, 7 Mar 2015 18:30:23 +0100 Subject: [PATCH] Describing how to execute the benchmarks --- .../teavm-samples-benchmark/README.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 teavm-samples/teavm-samples-benchmark/README.md diff --git a/teavm-samples/teavm-samples-benchmark/README.md b/teavm-samples/teavm-samples-benchmark/README.md new file mode 100644 index 000000000..7cc449341 --- /dev/null +++ b/teavm-samples/teavm-samples-benchmark/README.md @@ -0,0 +1,23 @@ +TeaVM, GWT, HotSport JBox2D Benchmark +===================================== + +Compares the speed of execution on a complex [JBox2D](http://www.jbox2d.org/) CPU extensive +computation. JavaScript produced by TeaVM and GWT can be compared by running + +``` +$ mvn clean install +``` + +then just open the generated HTML versions + +``` +$ open target/teavm-samples-benchmark-*-SNAPSHOT/index.html +``` + +In addition to that one can run the same demo with classical HotSpot virtual machine. Just try: + +``` +$ mvn -Pfx exec:java +``` + +