Skip to content

Commit

Permalink
Pin wasm-bindgen for cloudflare/workers-rs#617
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Aug 14, 2024
1 parent 2149107 commit c59c916
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ simd = [ "advent-of-code/simd" ]
[dependencies]
advent-of-code = { path = "../core" }
console_error_panic_hook = { version = "*", optional = true }
wasm-bindgen = "*"
# See https://github.com/cloudflare/workers-rs/issues/617
wasm-bindgen = "=0.2.92"
js-sys = "*"

1 comment on commit c59c916

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@                     Benchmark Difference                     @@
#      Name   Old (instructions)   New (instructions)   Change (%)
   2023_1_1            1,470,552            1,470,575            0
   2023_1_2            1,443,134            1,443,157            0
   2023_2_1              625,988              626,011            0
   2023_2_2              600,806              600,829            0
   2023_3_1              824,408              824,431            0
   2023_3_2              620,974              620,997            0
   2023_4_1              906,549              906,572            0
   2023_4_2              917,765              917,788            0
   2023_5_1              620,524              620,547            0
   2023_5_2              741,373              741,396            0
   2023_6_1                3,585                3,585            0
   2023_6_2                2,580                2,580            0
   2023_7_1              657,015              657,015            0
   2023_7_2              648,985              648,985            0
   2023_8_1            1,180,443            1,180,443            0
   2023_8_2            2,585,707            2,585,707            0
   2023_9_1              795,805              795,805            0
   2023_9_2              807,532              807,532            0
  2023_10_1            2,859,049            2,859,049            0
  2023_10_2            3,429,523            3,429,523            0
  2023_11_1            2,748,161            2,748,161            0
  2023_11_2            2,748,185            2,748,185            0
  2023_12_1            4,295,517            4,295,517            0
  2023_12_2           68,303,611           68,303,611            0
  2023_13_1              567,529              567,529            0
  2023_13_2              568,537              568,537            0
  2023_14_1              836,969              836,969            0
  2023_14_2          290,236,867          290,236,867            0
  2023_15_1              762,587              762,587            0
  2023_15_2            1,045,167            1,045,167            0
  2023_16_1            1,057,143            1,057,143            0
  2023_16_2          216,038,022          216,038,022            0
  2023_17_1          219,432,127          219,432,127            0
  2023_17_2          666,688,145          666,688,145            0
  2023_18_1              343,180              343,180            0
  2023_18_2              414,790              414,790            0
  2023_19_1            2,852,868            2,852,868            0
  2023_19_2            1,789,721            1,789,721            0
  2023_20_1            4,549,034            4,549,034            0
  2023_20_2           17,783,195           17,783,195            0
  2023_21_1           83,478,827           83,478,827            0
  2023_21_2            7,500,122            7,500,122            0
  2023_22_1           10,665,156           10,665,156            0
  2023_22_2          291,755,214          291,755,214            0
  2023_23_1            1,679,623            1,679,623            0
  2023_23_2        1,129,484,962        1,129,484,962            0
  2023_24_1           16,191,357           16,191,357            0
  2023_24_2            1,186,595            1,186,595            0
  2023_25_1            4,710,493            4,710,493            0
Benchmark Instructions (count) Instructions (%)
2023_23_2 1,129,484,962 36.8
2023_17_2 666,688,145 21.7
2023_22_2 291,755,214 9.5
2023_14_2 290,236,867 9.4
2023_17_1 219,432,127 7.1
2023_16_2 216,038,022 7.0
2023_21_1 83,478,827 2.7
2023_12_2 68,303,611 2.2
2023_20_2 17,783,195 0.6
2023_24_1 16,191,357 0.5
2023_22_1 10,665,156 0.3
2023_21_2 7,500,122 0.2
2023_25_1 4,710,493 0.2
2023_20_1 4,549,034 0.1
2023_12_1 4,295,517 0.1
2023_10_2 3,429,523 0.1
2023_10_1 2,859,049 0.1
2023_19_1 2,852,868 0.1
2023_11_2 2,748,185 0.1
2023_11_1 2,748,161 0.1
2023_8_2 2,585,707 0.1
2023_19_2 1,789,721 0.1
2023_23_1 1,679,623 0.1
2023_1_1 1,470,575 0.0
2023_1_2 1,443,157 0.0
2023_24_2 1,186,595 0.0
2023_8_1 1,180,443 0.0
2023_16_1 1,057,143 0.0
2023_15_2 1,045,167 0.0
2023_4_2 917,788 0.0
2023_4_1 906,572 0.0
2023_14_1 836,969 0.0
2023_3_1 824,431 0.0
2023_9_2 807,532 0.0
2023_9_1 795,805 0.0
2023_15_1 762,587 0.0
2023_5_2 741,396 0.0
2023_7_1 657,015 0.0
2023_7_2 648,985 0.0
2023_2_1 626,011 0.0
2023_3_2 620,997 0.0
2023_5_1 620,547 0.0
2023_2_2 600,829 0.0
2023_13_2 568,537 0.0
2023_13_1 567,529 0.0
2023_18_2 414,790 0.0
2023_18_1 343,180 0.0
2023_6_1 3,585 0.0
2023_6_2 2,580 0.0

Please sign in to comment.