oxc/tasks
overlookmotel 73ec4df61c
chore(benchmark): add radix-ui.jsx as a real world jsx example (#2304)
Following #2297, this adds another benchmark.

This one is from radix-ui website. I've chosen this particular file
because it differs from the other benchmark sources in 3 ways:

1. JSX not TSX (despite the file extension).
2. Contains no logic, only JSX component hierarchy, and content text.
3. Very small (60 LOC).

The last is particularly important, I think. Often developers will be
working on small files (single component per file convention). And some
possible directions for the parser (SIMD etc) involve optimizing chewing
through chunks of text, with a de-opt at the end to process the final
batch of bytes. If that imposes a penalty on short files, this benchmark
will surface it.

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2024-02-05 13:42:45 +08:00
..
benchmark feat(tasks): benchmarks for lexer (#2101) 2024-01-21 14:32:50 +00:00
common chore(benchmark): add radix-ui.jsx as a real world jsx example (#2304) 2024-02-05 13:42:45 +08:00
coverage chore: codegen test skip v8 failed test (#2283) 2024-02-04 14:02:39 +08:00
javascript_globals chore(deps): update cargo (#2191) 2024-01-29 11:38:47 +08:00
lint_rules chore(lint_rules): deprecated eslint no-dupe-args / no-octal / no-with 2024-02-02 17:33:54 +08:00
minsize chore(deps): update cargo (#2191) 2024-01-29 11:38:47 +08:00
prettier_conformance chore: manually clone git modules instead of using submodules (#2274) 2024-02-02 11:56:18 +00:00
rulegen feat(tasks): add eslint-plugin-n rulegen (#2272) 2024-02-02 18:50:58 +08:00
transform_conformance fix(transformer): update snapshot (#2268) 2024-02-02 17:00:44 +08:00
libs.txt refactor(benchmark): use more complicated files (#1811) 2023-12-25 17:27:02 +08:00