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 12389.8 Ops/sec
Cubic polynomials with flat random coefficients 12691.3 Ops/sec
Degree 4 polynomials with 4 real roots 5680.4 Ops/sec
Degree 4 polynomials with flat random coefficients 5631.4 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


;