Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set className directly instead of calling setAttribute #157

Merged
merged 2 commits into from
Jul 8, 2021

Conversation

lukechu10
Copy link
Member

No description provided.

@lukechu10 lukechu10 added the performance Performance related label Jul 8, 2021
@github-actions
Copy link

github-actions bot commented Jul 8, 2021

Finished dev [unoptimized + debuginfo] target(s) in 0.01s
 Running `target/debug/results_diff`

Benchmark Report

  • wasm-bindgen: the performance goal
  • baseline: performance of sycamore-baseline (typically latest master)
  • update: performance of sycamore (typically recent changes)
  • diff: measures the improvement of update over the baseline
@@                         Performance Diff                          @@

##                       | wasm-bindgen | baseline |  update |  diff ##
#######################################################################
- 01_run1k               |       142.43 |   174.25 |  185.41 |   +6.40%
  02_replace1k           |       162.49 |   189.82 |  188.12 |   -0.90%
- 03_update10th1k_x16    |       248.08 |   267.12 |  279.63 |   +4.69%
+ 04_select1k            |        39.31 |    53.10 |   46.18 |  -13.02%
+ 05_swap1k              |        81.89 |    82.23 |   78.26 |   -4.82%
  06_remove-one-1k       |        31.05 |    31.98 |   32.54 |   +1.75%
  07_create10k           |      1337.49 |  4130.84 | 4079.70 |   -1.24%
+ 08_create1k-after1k_x2 |       323.43 |   449.25 |  429.50 |   -4.40%
  09_clear1k_x8          |       200.62 |   209.65 |  206.45 |   -1.53%
  21_ready-memory        |         1.02 |     1.02 |    1.02 |   +0.04%
  22_run-memory          |         1.50 |     1.77 |    1.80 |   +1.99%
  23_update5-memory      |         1.82 |     2.08 |    2.12 |   +1.60%
  24_run5-memory         |         2.11 |     2.36 |    2.40 |   +1.62%
  25_run-clear-memory    |         2.25 |     2.25 |    2.26 |   +0.28%
  31_startup-ci          |      1976.69 |  1957.63 | 1986.53 |   +1.48%
- 32_startup-bt          |        27.06 |    47.14 |   61.83 |  +31.17%
  34_startup-totalbytes  |       197.35 |   302.22 |  303.69 |   +0.49%

Workflow: 1012596728
Adding new commits will generate a new report

@github-actions
Copy link

github-actions bot commented Jul 8, 2021

Finished dev [unoptimized + debuginfo] target(s) in 0.01s
 Running `target/debug/results_diff`

Benchmark Report

  • wasm-bindgen: the performance goal
  • baseline: performance of sycamore-baseline (typically latest master)
  • update: performance of sycamore (typically recent changes)
  • diff: measures the improvement of update over the baseline
@@                         Performance Diff                          @@

##                       | wasm-bindgen | baseline |  update |  diff ##
#######################################################################
  01_run1k               |       132.20 |   168.70 |  165.99 |   -1.61%
  02_replace1k           |       151.77 |   182.90 |  183.15 |   +0.14%
- 03_update10th1k_x16    |       265.68 |   250.29 |  260.68 |   +4.15%
+ 04_select1k            |        41.54 |    53.87 |   52.41 |   -2.70%
- 05_swap1k              |        71.42 |    76.31 |   78.10 |   +2.35%
  06_remove-one-1k       |        29.06 |    29.92 |   30.23 |   +1.05%
- 07_create10k           |      1340.06 |  3810.84 | 3986.60 |   +4.61%
  08_create1k-after1k_x2 |       310.16 |   400.54 |  405.00 |   +1.11%
+ 09_clear1k_x8          |       193.18 |   209.53 |  199.17 |   -4.94%
  21_ready-memory        |         1.02 |     1.02 |    1.02 |   +0.05%
  22_run-memory          |         1.50 |     1.77 |    1.80 |   +1.98%
  23_update5-memory      |         1.82 |     2.08 |    2.12 |   +1.61%
  24_run5-memory         |         2.11 |     2.36 |    2.40 |   +1.72%
  25_run-clear-memory    |         2.25 |     2.25 |    2.26 |   +0.28%
  31_startup-ci          |      1847.88 |  1959.21 | 1957.68 |   -0.08%
+ 32_startup-bt          |        19.14 |    43.22 |   37.79 |  -12.56%
  34_startup-totalbytes  |       197.35 |   302.22 |  303.69 |   +0.49%

Workflow: 1012620084
Adding new commits will generate a new report

@lukechu10 lukechu10 merged commit a68f6c9 into master Jul 8, 2021
@lukechu10 lukechu10 deleted the use-classname branch July 8, 2021 18:30
lukechu10 added a commit that referenced this pull request Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant