Skip to content

Commit ce9bd95

Browse files
committed
Improve __toString performance
Running scenario: Short attributes, empty rendered __toString() time: 0.00077986717224121 seconds __toString2() time: 0.00049495697021484 seconds Improvement: 36.533170284317% Running scenario: Short attributes, partial rendered __toString() time: 0.00054383277893066 seconds __toString2() time: 0.00031709671020508 seconds Improvement: 41.692240245506% Running scenario: Short attributes, full rendered __toString() time: 0.00030899047851562 seconds __toString2() time: 0.00012898445129395 seconds Improvement: 58.256172839506% Running scenario: Long attributes, empty rendered __toString() time: 0.0038020610809326 seconds __toString2() time: 0.0026099681854248 seconds Improvement: 31.353859660124% Running scenario: Long attributes, partial rendered __toString() time: 0.0032980442047119 seconds __toString2() time: 0.0022611618041992 seconds Improvement: 31.439311790646% Running scenario: Long attributes, full rendered __toString() time: 0.00074219703674316 seconds __toString2() time: 0.00014185905456543 seconds Improvement: 80.886604561516%
1 parent 07b3eeb commit ce9bd95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2856,7 +2856,7 @@ __metadata:
28562856
vitest-canvas-mock: "npm:^0.3.3"
28572857
peerDependencies:
28582858
"@hotwired/stimulus": ^3.0.0
2859-
chart.js: ^4.0
2859+
chart.js: ^3.4.1 || ^4.0
28602860
languageName: unknown
28612861
linkType: soft
28622862

@@ -2987,7 +2987,7 @@ __metadata:
29872987
svelte: "npm:^3.0 || ^4.0"
29882988
peerDependencies:
29892989
"@hotwired/stimulus": ^3.0.0
2990-
svelte: ^4.0
2990+
svelte: ^3.0 || ^4.0
29912991
languageName: unknown
29922992
linkType: soft
29932993

@@ -3042,7 +3042,7 @@ __metadata:
30423042
"@hotwired/turbo": "npm:^7.1.0 || ^8.0"
30433043
peerDependencies:
30443044
"@hotwired/stimulus": ^3.0.0
3045-
"@hotwired/turbo": ^8.0
3045+
"@hotwired/turbo": ^7.1.1 || ^8.0
30463046
languageName: unknown
30473047
linkType: soft
30483048

0 commit comments

Comments
 (0)