Skip to main content
Module

std/node/perf_hooks_test.ts

Deno standard library
Go to Latest
File
import * as perfHooks from "./perf_hooks.ts";import { assertEquals } from "../testing/asserts.ts";
Deno.test({ name: "[perf_hooks] performance", fn() { assertEquals(perfHooks.performance.clearMarks, performance.clearMarks); assertEquals(perfHooks.performance.mark, performance.mark); assertEquals(perfHooks.performance.now, performance.now); },});
Deno.test({ name: "[perf_hooks] PerformanceEntry", fn() { assertEquals(perfHooks.PerformanceEntry, PerformanceEntry); },});