Project

General

Profile

Actions

Error #798

closed

Fix performance test

Added by Federico Vera over 6 years ago. Updated over 6 years ago.

Status:
Resuelto
Priority:
Normal
Assignee:
Target version:
Start date:
2018-07-17
Due date:
% Done:

100%

Estimated time:
Dificultad:
Tags:

Description

This test is awfully unreliable.

Actions #1

Updated by Federico Vera over 6 years ago

  • Status changed from Nuevo to Resuelto
  • % Done changed from 0 to 100
Actions #2

Updated by Federico Vera over 6 years ago

Los nuevos resultados están disponibles!

Performance

In Java 8

Running net.objecthunter.exp4j.PerformanceTest
+------------------------+---------------------------+--------------------------+
| Implementation         | Calculations per Second   | Percentage of Math       |
+------------------------+---------------------------+--------------------------+
| Java Math              |                3368046.50 |               100.0000 % |
| exp4j                  |                1524782.00 |                45.2720 % |
| exp4j simplified       |                1643364.50 |                48.7928 % |
| JSR-223 (Java Script)  |                1375017.00 |                40.8254 % |
+------------------------+---------------------------+--------------------------+

In Java 10

Running net.objecthunter.exp4j.PerformanceTest
+------------------------+---------------------------+--------------------------+
| Implementation         | Calculations per Second   | Percentage of Math       |
+------------------------+---------------------------+--------------------------+
| Java Math              |                3183812.50 |               100.0000 % |
| exp4j                  |                1856690.00 |                58.3166 % |
| exp4j simplified       |                2016287.50 |                63.3293 % |
| JSR-223 (Java Script)  |                1810797.50 |                56.8751 % |
+------------------------+---------------------------+--------------------------+

Actions

Also available in: Atom PDF