loosen computational complexty check for printing fill (#16708)
This commit is contained in:
1 parent
e3b8a16c7f
commit
94fa86e164
1 file changed
+2
-2
@@ -46,9 +46,9 @@ test("`printDocToString` should not manipulate docs", () => {
|
||||
|
||||
describe("`printDocToString` has linear time complexity at most to print fill()", () => {
|
||||
const baseSize = 3_000;
|
||||
const relativeMargin = 0.4;
|
||||
const relativeMargin = 0.6;
|
||||
const baseTime = time(makeFill(baseSize));
|
||||
test.each([10_000, 20_000, 40_000])("numWords=%d", (numWords) => {
|
||||
test.each([20_000, 40_000, 60_000])("numWords=%d", (numWords) => {
|
||||
const doc = makeFill(numWords);
|
||||
const ellapsed = time(doc);
|
||||
const ratio = numWords / baseSize;
|
||||
|
||||
Reference in new issue
Block a user