33.6. Performance
Fixed-field arithmetic is polynomial arithmetic and scales as the degree suggests: multiplication is quadratic in the degree and inversion cubic with a logarithmic factor for coefficient growth. Everything that isolates roots is dominated by the isolation, so those rows are fixed inputs rather than asymptotics. Times are shared-host observations. The two updated exactification rows use the retained reuse comparisons with their documented capture parameters; only the six-factor row uses the registered floor. The remaining rows retain earlier source-scoped observations. See the performance report for source scopes and the unchanged operational caps.
operation | input | time |
|---|---|---|
| degree 16, dense coordinates | 0.12 ms |
| degree 16, dense coordinates | 0.71 ms |
| degree 128, fixed precision | 17 ms |
|
| 44 ms (historical) |
|
a root of | 1.0 ms |
|
a root of | 47 ms |
|
a root of | 4.5 s |
|
dense degree 6, one | 6.0 s |
Medians on chungus2 from the exports recorded in
reports/hex-number-field-performance.md in the hex-dev repository;
regenerate with .lake/build/bin/hexnumberfield_bench run
Hex.NumberFieldBench.<target>. The last three rows spend over ninety percent
of their time in root isolation of the resultant or eliminant, and the
X⁸ − 2 exactification spends its time isolating the candidate factor
rather than factoring.