Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Chrome 60
Windows
Other
7 years ago
Test name Executions per second
100 cubic polynomials with 3 real roots 1307.6 Ops/sec
100 cubic polynomials with random coefficients 13637.7 Ops/sec
100 degree 4 polynomials with 4 real roots 514.6 Ops/sec
100 degree 4 polynomials with random coefficients 1896.0 Ops/sec
100 degree 7 polynomials with 7 real roots 136.6 Ops/sec
100 degree 7 polynomials with random coefficients 393.3 Ops/sec
100 degree 12 polynomials with 12 real roots 36.8 Ops/sec
100 deg 12 polynomials with random coefficients 125.9 Ops/sec
100 degree 15 polynomials with 15 real roots 21.6 Ops/sec
100 deg 15 polynomials with random coefficients 77.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • 100 cubic polynomials with 3 real roots

  • 100 cubic polynomials with random coefficients

  • 100 degree 4 polynomials with 4 real roots

  • 100 degree 4 polynomials with random coefficients

  • 100 degree 7 polynomials with 7 real roots

  • 100 degree 7 polynomials with random coefficients

  • 100 degree 12 polynomials with 12 real roots

  • 100 deg 12 polynomials with random coefficients

  • 100 degree 15 polynomials with 15 real roots

  • 100 deg 15 polynomials with random coefficients