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

Candid type selector #544

Merged
merged 17 commits into from
May 3, 2024
Merged

Candid type selector #544

merged 17 commits into from
May 3, 2024

Conversation

chenyan-dfinity
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Apr 18, 2024

Name Max Mem (Kb) Encode Decode
blob 4_224 20_458_812 ($\textcolor{green}{-0.00\%}$) 12_083_520 ($\textcolor{green}{-0.00\%}$)
btreemap 75_456 4_814_024_078 ($\textcolor{green}{-0.00\%}$) 15_380_030_621 ($\textcolor{green}{-0.00\%}$)
nns 192 2_172_806 ($\textcolor{red}{1.25\%}$) 12_208_722 ($\textcolor{red}{0.12\%}$)
nns_list_proposal 1_920 6_631_327 ($\textcolor{red}{0.53\%}$) 182_353_485 ($\textcolor{green}{-0.02\%}$)
option_list 576 7_436_043 ($\textcolor{green}{-0.00\%}$) 31_705_099 ($\textcolor{green}{-0.00\%}$)
text 6_336 28_844_735 ($\textcolor{green}{-0.00\%}$) 17_839_178 ($\textcolor{green}{-0.00\%}$)
variant_list 128 7_431_973 ($\textcolor{red}{0.00\%}$) 23_873_932 ($\textcolor{green}{-0.00\%}$)
vec_int16 16_704 168_581_831 ($\textcolor{green}{-0.00\%}$) 1_031_829_277 ($\textcolor{green}{-0.00\%}$)
  • Parser cost: 18_353_375 ($\textcolor{red}{0.01\%}$)
  • Extra args: 3_348_203 ($\textcolor{green}{-0.00\%}$)
Click to see raw report

---------------------------------------------------

Benchmark: blob
  total:
    instructions: 32.54 M (-0.00%) (change within noise threshold)
    heap_increase: 66 pages (no change)
    stable_memory_increase: 0 pages (no change)

  1. Encoding (scope):
    instructions: 20.46 M (-0.00%) (change within noise threshold)
    heap_increase: 66 pages (no change)
    stable_memory_increase: 0 pages (no change)

  2. Decoding (scope):
    instructions: 12.08 M (-0.00%) (change within noise threshold)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: text
  total:
    instructions: 46.69 M (-0.00%) (change within noise threshold)
    heap_increase: 99 pages (no change)
    stable_memory_increase: 0 pages (no change)

  1. Encoding (scope):
    instructions: 28.84 M (-0.00%) (change within noise threshold)
    heap_increase: 99 pages (no change)
    stable_memory_increase: 0 pages (no change)

  2. Decoding (scope):
    instructions: 17.84 M (-0.00%) (change within noise threshold)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: vec_int16
  total:
    instructions: 1.20 B (-0.00%) (change within noise threshold)
    heap_increase: 261 pages (no change)
    stable_memory_increase: 0 pages (no change)

  1. Encoding (scope):
    instructions: 168.58 M (-0.00%) (change within noise threshold)
    heap_increase: 261 pages (no change)
    stable_memory_increase: 0 pages (no change)

  2. Decoding (scope):
    instructions: 1.03 B (-0.00%) (change within noise threshold)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: btreemap
  total:
    instructions: 20.19 B (-0.00%) (change within noise threshold)
    heap_increase: 1179 pages (no change)
    stable_memory_increase: 0 pages (no change)

  1. Encoding (scope):
    instructions: 4.81 B (-0.00%) (change within noise threshold)
    heap_increase: 257 pages (no change)
    stable_memory_increase: 0 pages (no change)

  2. Decoding (scope):
    instructions: 15.38 B (-0.00%) (change within noise threshold)
    heap_increase: 922 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: option_list
  total:
    instructions: 39.14 M (-0.00%) (change within noise threshold)
    heap_increase: 9 pages (no change)
    stable_memory_increase: 0 pages (no change)

  1. Encoding (scope):
    instructions: 7.44 M (-0.00%) (change within noise threshold)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

  2. Decoding (scope):
    instructions: 31.71 M (-0.00%) (change within noise threshold)
    heap_increase: 9 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: variant_list
  total:
    instructions: 31.31 M (0.00%) (change within noise threshold)
    heap_increase: 2 pages (no change)
    stable_memory_increase: 0 pages (no change)

  1. Encoding (scope):
    instructions: 7.43 M (0.00%) (change within noise threshold)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

  2. Decoding (scope):
    instructions: 23.87 M (-0.00%) (change within noise threshold)
    heap_increase: 2 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: nns
  total:
    instructions: 33.48 M (0.13%) (change within noise threshold)
    heap_increase: 3 pages (no change)
    stable_memory_increase: 0 pages (no change)

  0. Parsing (scope):
    instructions: 18.35 M (0.01%) (change within noise threshold)
    heap_increase: 3 pages (no change)
    stable_memory_increase: 0 pages (no change)

  1. Encoding (scope):
    instructions: 2.17 M (1.25%) (change within noise threshold)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

  2. Decoding (scope):
    instructions: 12.21 M (0.12%) (change within noise threshold)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: nns_list_proposal
  total:
    instructions: 188.99 M (-0.00%) (change within noise threshold)
    heap_increase: 30 pages (no change)
    stable_memory_increase: 0 pages (no change)

  1. Encoding (scope):
    instructions: 6.63 M (0.53%) (change within noise threshold)
    heap_increase: 5 pages (no change)
    stable_memory_increase: 0 pages (no change)

  2. Decoding (scope):
    instructions: 182.35 M (-0.02%) (change within noise threshold)
    heap_increase: 25 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: extra_args
  total:
    instructions: 3.35 M (-0.00%) (change within noise threshold)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------
Successfully persisted results to canbench_results.yml

* checkpoint

* checkpoint

* connect with didc and test

* checkpoint

* vis

* vis

* checkpoint

* fix merging semantics

* checkpoint

* fix

* fix

* fix root config fallback

* checkpoint

* add unmatched config

* fix attr

* handlebar

* update test, diff is only space and newline

* forget to commit test

* move pp_actor inside impl

* fix

* refactor

* init args

* add test

* add_config

* clippy
@chenyan-dfinity chenyan-dfinity marked this pull request as ready for review May 3, 2024 17:28
@chenyan-dfinity chenyan-dfinity merged commit ea3c3e9 into master May 3, 2024
5 checks passed
@chenyan-dfinity chenyan-dfinity deleted the configs branch May 3, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants