diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-07-31 11:02:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 12:02:59 +0200 |
commit | 02865cb5a270b9a2229863e83582f2a8b5115b78 (patch) | |
tree | 56529bdc267d6779be2efb8c92e58119e3687f24 /cli/tests/integration/lsp_tests.rs | |
parent | e348c11b64410cf91bd5925ffbc5a9009947a80f (diff) |
feat(bench): add BenchContext::start() and BenchContext::end() (#18734)
Closes #17589.
```ts
Deno.bench("foo", async (t) => {
const resource = setup(); // not included in measurement
t.start();
measuredOperation(resource);
t.end();
resource.close(); // not included in measurement
});
```
Diffstat (limited to 'cli/tests/integration/lsp_tests.rs')
-rw-r--r-- | cli/tests/integration/lsp_tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs index 15ede69ea..22951825b 100644 --- a/cli/tests/integration/lsp_tests.rs +++ b/cli/tests/integration/lsp_tests.rs @@ -5130,7 +5130,7 @@ fn lsp_completions_auto_import() { "source": "./b.ts", "data": { "exportName": "foo", - "exportMapKey": "foo|6802|file:///a/b", + "exportMapKey": "foo|6811|file:///a/b", "moduleSpecifier": "./b.ts", "fileName": "file:///a/b.ts" }, |