Add benchmark for structuredClone#51249
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
35406ee to
d2cefa5
Compare
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
d2cefa5 to
b14cdbd
Compare
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
25a6cfe to
8e7ea1f
Compare
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
8e7ea1f to
24c5748
Compare
24c5748 to
61d3a7b
Compare
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
e9b848a to
70e71e2
Compare
70e71e2 to
be3faa0
Compare
be3faa0 to
f708cab
Compare
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
f708cab to
b356b53
Compare
Differential Revision: D71407318
Differential Revision: D71407320
b356b53 to
358caed
Compare
358caed to
3f1459d
Compare
Summary: Pull Request resolved: facebook#51249 Changelog: [internal] This adds a basic benchmark for `structuredClone`, so we can optimize it in the following diff. Baseline: | (index) | Task name | Latency average (ns) | Latency median (ns) | Throughput average (ops/s) | Throughput median (ops/s) | Samples | | ------- | ------------------------ | -------------------- | ------------------- | -------------------------- | ------------------------- | ------- | | 0 | 'clone a string' | '955.81 ± 1.45%' | '902.00' | '1095925 ± 0.01%' | '1108647' | 1046239 | | 1 | 'clone a basic array' | '7684.79 ± 0.76%' | '7542.00' | '131980 ± 0.02%' | '132591' | 130128 | | 2 | 'clone a basic object' | '6286.35 ± 0.53%' | '6179.00' | '161179 ± 0.02%' | '161838' | 159075 | | 3 | 'clone a complex object' | '22446.96 ± 0.32%' | '22223.00' | '44819 ± 0.03%' | '44998' | 44550 | Reviewed By: hoxyq Differential Revision: D71407319
|
This pull request was exported from Phabricator. Differential Revision: D71407319 |
3f1459d to
81dc5e2
Compare
|
This pull request has been merged in f7327bd. |
Summary:
Changelog: [internal]
This adds a basic benchmark for
structuredClone, so we can optimize it in the following diff.Baseline:
Differential Revision: D71407319