Skip to content

Commit

Permalink
Benchmark Extended CSS fork
Browse files Browse the repository at this point in the history
  • Loading branch information
scripthunter7 committed Oct 19, 2023
1 parent d7f4ca6 commit e20784c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/css-tokenizer/benchmark/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ export const tokenizers: Tokenizer[] = [
return count;
},
},
{
// https://github.com/AdguardTeam/tsurlfilter/tree/master/packages/css-tokenizer
name: '@adguard/css-tokenizer (extended)',
tokenize: (css: string) => {
let count = 0;
AdGuardCssTokenizer.tokenizeExtended(css, () => { count += 1; });
return count;
},
},
{
// https://github.com/csstree/csstree
name: 'css-tree',
Expand Down

0 comments on commit e20784c

Please sign in to comment.