Skip to content

Commit

Permalink
Merge pull request #242 from karasjs/performance
Browse files Browse the repository at this point in the history
Performance / sync api
  • Loading branch information
army8735 authored Sep 19, 2022
2 parents 0bf3e45 + fdba25c commit 74cebdb
Show file tree
Hide file tree
Showing 623 changed files with 18,058 additions and 25,175 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"assumptions": {
"noClassCalls": true,
"superIsCallableConstructor": true
},
"plugins": [
Expand Down
2 changes: 1 addition & 1 deletion demo/benchmark.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
list.push(i);
}
let root = karas.render(
<canvas width={360} height={360} cache={true}>
<canvas width={360} height={360}>
{
list.map(i => {
let background = `rgb(${Math.floor(Math.random() * 255)},${Math.floor(Math.random() * 255)},${Math.floor(Math.random() * 255)})`;
Expand Down
Loading

0 comments on commit 74cebdb

Please sign in to comment.