Skip to content

Commit

Permalink
Merge pull request #33 from sebbekarlsson/add-more-benchmarks
Browse files Browse the repository at this point in the history
adds more benchmarks
  • Loading branch information
sebbekarlsson authored Feb 14, 2021
2 parents c99863e + 5a60cf3 commit 482bf4f
Show file tree
Hide file tree
Showing 22 changed files with 1,918 additions and 333 deletions.
315 changes: 265 additions & 50 deletions bench.json

Large diffs are not rendered by default.

22 changes: 21 additions & 1 deletion benchmark/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,27 @@ def create_mark(title, path, runs=RUNS):
create_mark(
"React project with JSX",
'/tests/src/test_projects/with_react/index.jsx'
)
),
create_mark(
"Importing cookie banner (dobarkod/cookie-banner)",
'/tests/src/test_projects/cookie_banner/index.js'
),
create_mark(
"Simple regex",
'/tests/src/test_projects/regex/index.js'
),
create_mark(
"Array access",
'/tests/src/test_projects/array_access/index.js'
),
create_mark(
"Simple bundle with zero imports",
'/tests/src/test_projects/noimports/index.js'
),
create_mark(
"Escaped strings",
'/tests/src/test_projects/strings/index.js'
),
]


Expand Down
775 changes: 684 additions & 91 deletions benchmarks.html

Large diffs are not rendered by default.

Loading

0 comments on commit 482bf4f

Please sign in to comment.