Skip to content

Commit

Permalink
Merge pull request #229 from preactjs/perf-improvements
Browse files Browse the repository at this point in the history
[perf] split out pretty and create hot paths
  • Loading branch information
marvinhagemeister authored Jul 21, 2022
2 parents d7f599d + d83def7 commit b34f32d
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 48 deletions.
5 changes: 5 additions & 0 deletions .changeset/silly-masks-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'preact-render-to-string': patch
---

Split up hot paths and make separate path for opts.pretty
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"browser": "./dist/jsx.module.js",
"require": "./dist/jsx.js"
},
"./package.json": "./package.json",
"./": "./"
"./package.json": "./package.json"
},
"scripts": {
"bench": "BABEL_ENV=test node -r @babel/register benchmarks index.js",
Expand Down
Loading

0 comments on commit b34f32d

Please sign in to comment.