- or download this
timethese( 100, {
'Root' => '$x = Root( 100, 3 )',
...
-----
Root2: $y
END
- or download this
Benchmark: timing 100 iterations of Root, Root2...
Root: 29 wallclock secs (28.39 usr + 0.00 sys = 28.39 CPU) @ 3
+.52/s (n=1 00)
...
Root: 4.6415888336127788924100763542328778501807372125002714
-----
Root2: 0.6664902595019951166742874561807256134735