Proyecto

General

Perfil

Performance » Histórico » Versión 3

Federico Vera, 2018-07-17 11:09
Update Values

1 1 Federico Vera
## Performance
2 2 Federico Vera
3
## In Java 8
4 1 Federico Vera
~~~
5 2 Federico Vera
Running net.objecthunter.exp4j.PerformanceTest
6 1 Federico Vera
+------------------------+---------------------------+--------------------------+
7
| Implementation         | Calculations per Second   | Percentage of Math       |
8
+------------------------+---------------------------+--------------------------+
9 3 Federico Vera
| Java Math              |                3368046.50 |               100.0000 % |
10
| exp4j                  |                1524782.00 |                45.2720 % |
11
| exp4j simplified       |                1643364.50 |                48.7928 % |
12
| JSR-223 (Java Script)  |                1375017.00 |                40.8254 % |
13 2 Federico Vera
+------------------------+---------------------------+--------------------------+
14
~~~
15
16
## In Java 10
17
~~~
18
Running net.objecthunter.exp4j.PerformanceTest
19
+------------------------+---------------------------+--------------------------+
20
| Implementation         | Calculations per Second   | Percentage of Math       |
21
+------------------------+---------------------------+--------------------------+
22 3 Federico Vera
| Java Math              |                3183812.50 |               100.0000 % |
23
| exp4j                  |                1856690.00 |                58.3166 % |
24
| exp4j simplified       |                2016287.50 |                63.3293 % |
25
| JSR-223 (Java Script)  |                1810797.50 |                56.8751 % |
26 1 Federico Vera
+------------------------+---------------------------+--------------------------+
27
~~~
Volver al inicio