(ratio: number, floor: number): boolean import {ratio_is_within_floor} from '@ryanatkn/syntax-highlighter-bench/ratio.js'; Whether a ratio is inside a noise floor: the two numbers differ by no more than the machine shows between two measurements of the same library.
ratio
numberfloor
a deviation as BenchNoiseFloor holds it; 0.03 is 3%
numberreturns
boolean