mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Describing how to execute the benchmarks
This commit is contained in:
parent
f7e584d700
commit
b7ace8e033
23
teavm-samples/teavm-samples-benchmark/README.md
Normal file
23
teavm-samples/teavm-samples-benchmark/README.md
Normal file
|
@ -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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user