Skip to content

Commit

Permalink
Update packages/language-server-tests-benchmarks/src/benchmarks/css/d…
Browse files Browse the repository at this point in the history
…ocument_symbols.bench.ts

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
  • Loading branch information
goulvenclech and Princesseuh authored Dec 19, 2024
1 parent a3da0e2 commit 18b602f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ const weblspUri = (await weblsp.openTextDocument(filePath, "css")).uri;
const vscodeLsp = await startLanguageServer(undefined, "vscode-css");
const vscodeLspUri = (await vscodeLsp.openTextDocument(filePath, "css")).uri;

describe("DocumentSymbols", async () => {
bench("weblsp - DocumentSymbols", async () => {
describe("Document Symbols", async () => {
bench("weblsp - Document Symbols", async () => {
await weblsp.sendDocumentSymbolRequest(weblspUri);
});

if (!process.env.CODSPEED) {
bench("vscode-css-languageserver - DocumentSymbols", async () => {
bench("vscode-css-languageserver - Document Symbols", async () => {
await vscodeLsp.sendDocumentSymbolRequest(vscodeLspUri);
});
}
Expand Down

0 comments on commit 18b602f

Please sign in to comment.