mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
PR-URL: https://github.com/nodejs/node/pull/60084 Fixes: https://github.com/nodejs/node/issues/54768 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
10 lines
171 B
JavaScript
10 lines
171 B
JavaScript
'use strict';
|
|
require('../common');
|
|
|
|
for (let i = 0; i < 1e6; i++) {
|
|
performance.mark(`mark-${i}`);
|
|
}
|
|
|
|
performance.getEntriesByName('mark-0');
|
|
performance.clearMarks();
|