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
Cubic polynomials with 3 real roots 1283.7 Ops/sec
Cubic polynomials with flat random coefficients 1284.4 Ops/sec
Degree 4 polynomials with 4 real roots 524.7 Ops/sec
Degree 4 polynomials with flat random coefficients 521.1 Ops/sec
Degree 7 polynomials with 7 real roots 137.6 Ops/sec
Degree 7 polynomials with flat random coefficients 137.6 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


;