Lines Matching refs:now
18 let start = Date.now();
19 let now = start;
22 while (now - start < 100) {
24 now = Date.now();
32 // approximate tries in 2s (unless now - start >> 100 ms)
37 start = Date.now();
42 const end = Date.now();
67 let start = Date.now();
68 let now = start;
71 while (now - start < 100) {
73 now = Date.now();
81 // approximate tries in 2s (unless now - start >> 100 ms)
86 start = Date.now();
91 const end = Date.now();