[test] double the time

This commit is contained in:
Revone 2023-10-12 09:02:59 +08:00
parent 641bf9785f
commit b78586a0ef

View file

@ -384,7 +384,7 @@ describe('SinglyLinkedList Performance Test', () => {
for (let i = 0; i < magnitude.LINEAR; i++) {
list.push(i);
}
expect(performance.now() - startPushTime).toBeLessThan(bigO.LINEAR * 10);
expect(performance.now() - startPushTime).toBeLessThan(bigO.LINEAR * 20);
const startPopTime = performance.now();