Skip to content

Instantly share code, notes, and snippets.

@erights
Last active May 15, 2021 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erights/b207844cf89bafefa7e79726c45a94b9 to your computer and use it in GitHub Desktop.
Save erights/b207844cf89bafefa7e79726c45a94b9 to your computer and use it in GitHub Desktop.
Output of #3105 Harden perf stats
Output of https://github.com/Agoric/agoric-sdk/pull/3105
A better order at https://gist.github.com/erights/0686e4c7c975bd9320834290f7bd3022
```
(1):xsnap(test-harden-perf)$ yarn test -sv test/test-harden-perf.js
yarn run v1.22.5
$ ava -sv test/test-harden-perf.js
time, BOTH, 10, nothing {
meterType: 'xs-meter-6',
compute: 12257,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 0.007080078125
} 207
✔ time, BOTH, 10, nothing (239ms)
time, BOTH, 10, list {
meterType: 'xs-meter-6',
compute: 12337,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 0.010986328125
} 197
✔ time, BOTH, 10, list (205ms)
time, BOTH, 10, listHard {
meterType: 'xs-meter-6',
compute: 21191,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3123,
mapSetRemoveCount: 709,
maxBucketSize: 16,
time: 0.359130859375
} 190
✔ time, BOTH, 10, listHard (198ms)
time, BOTH, 10, hardList {
meterType: 'xs-meter-6',
compute: 17548,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3123,
mapSetRemoveCount: 709,
maxBucketSize: 16,
time: 0.221923828125
} 192
✔ time, BOTH, 10, hardList (200ms)
time, BOTH, 100, nothing {
meterType: 'xs-meter-6',
compute: 13157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 0.01611328125
} 193
✔ time, BOTH, 100, nothing (201ms)
time, BOTH, 100, list {
meterType: 'xs-meter-6',
compute: 13957,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 0.04296875
} 191
✔ time, BOTH, 100, list (198ms)
time, BOTH, 100, listHard {
meterType: 'xs-meter-6',
compute: 100211,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3483,
mapSetRemoveCount: 799,
maxBucketSize: 16,
time: 2.985107421875
} 193
✔ time, BOTH, 100, listHard (201ms)
time, BOTH, 100, hardList {
meterType: 'xs-meter-6',
compute: 60118,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3483,
mapSetRemoveCount: 799,
maxBucketSize: 16,
time: 1.593017578125
} 192
✔ time, BOTH, 100, hardList (200ms)
time, BOTH, 1000, nothing {
meterType: 'xs-meter-6',
compute: 22157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 0.13720703125
} 207
✔ time, BOTH, 1000, nothing (216ms)
time, BOTH, 1000, list {
meterType: 'xs-meter-6',
compute: 30157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 0.35888671875
} 216
✔ time, BOTH, 1000, list (225ms)
time, BOTH, 1000, listHard {
meterType: 'xs-meter-6',
compute: 890411,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 7083,
mapSetRemoveCount: 1699,
maxBucketSize: 24,
time: 31.52392578125
} 235
✔ time, BOTH, 1000, listHard (244ms)
time, BOTH, 1000, hardList {
meterType: 'xs-meter-6',
compute: 485818,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 7083,
mapSetRemoveCount: 1699,
maxBucketSize: 23,
time: 21.05419921875
} 227
✔ time, BOTH, 1000, hardList (237ms)
time, BOTH, 10000, nothing {
meterType: 'xs-meter-6',
compute: 112157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 0.9130859375
} 193
✔ time, BOTH, 10000, nothing (201ms)
time, BOTH, 10000, list {
meterType: 'xs-meter-6',
compute: 192157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 3.468994140625
} 197
✔ time, BOTH, 10000, list (205ms)
time, BOTH, 10000, listHard {
meterType: 'xs-meter-6',
compute: 8792411,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 5,
mapSetAddCount: 43083,
mapSetRemoveCount: 10699,
maxBucketSize: 103,
time: 391.8369140625
} 584
✔ time, BOTH, 10000, listHard (592ms)
time, BOTH, 10000, hardList {
meterType: 'xs-meter-6',
compute: 4742818,
allocate: 260179616,
allocateChunksCalls: 53,
allocateSlotsCalls: 2,
garbageCollectionCount: 2048,
mapSetAddCount: 43083,
mapSetRemoveCount: 10699,
maxBucketSize: 99,
time: 15699.022216796875
} 15892
✔ time, BOTH, 10000, hardList (15.9s)
time, BOTH, 100000, nothing {
meterType: 'xs-meter-6',
compute: 1012157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 8.947998046875
} 205
✔ time, BOTH, 100000, nothing (213ms)
time, BOTH, 100000, list {
meterType: 'xs-meter-6',
compute: 1812157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 1,
mapSetAddCount: 3079,
mapSetRemoveCount: 698,
maxBucketSize: 16,
time: 40.432861328125
} 238
✔ time, BOTH, 100000, list (245ms)
too much computation
✖ time, BOTH, 100000, listHard time, BOTH, 100000, listHard, 659, xsnap test worker exited: too much computation
too much computation
✖ time, BOTH, 100000, hardList time, BOTH, 100000, hardList, 117031, xsnap test worker exited: too much computation
time, POSITIVE, 10, nothing {
meterType: 'xs-meter-6',
compute: 12257,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 0.0078125
} 192
✔ time, POSITIVE, 10, nothing (200ms)
time, POSITIVE, 10, list {
meterType: 'xs-meter-6',
compute: 12337,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 0.010986328125
} 196
✔ time, POSITIVE, 10, list (203ms)
time, POSITIVE, 10, listHard {
meterType: 'xs-meter-6',
compute: 418290,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 3778,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 14.294189453125
} 211
✔ time, POSITIVE, 10, listHard (219ms)
time, POSITIVE, 10, hardList {
meterType: 'xs-meter-6',
compute: 54746,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2572,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 1.456787109375
} 194
✔ time, POSITIVE, 10, hardList (201ms)
time, POSITIVE, 100, nothing {
meterType: 'xs-meter-6',
compute: 13157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 0.01611328125
} 196
✔ time, POSITIVE, 100, nothing (204ms)
time, POSITIVE, 100, list {
meterType: 'xs-meter-6',
compute: 13957,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 0.048095703125
} 195
✔ time, POSITIVE, 100, list (204ms)
time, POSITIVE, 100, listHard {
meterType: 'xs-meter-6',
compute: 5905005,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 2,
mapSetAddCount: 25018,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 301.639892578125
} 496
✔ time, POSITIVE, 100, listHard (504ms)
time, POSITIVE, 100, hardList {
meterType: 'xs-meter-6',
compute: 92816,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2842,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 2.628173828125
} 196
✔ time, POSITIVE, 100, hardList (204ms)
time, POSITIVE, 1000, nothing {
meterType: 'xs-meter-6',
compute: 22157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 0.095947265625
} 194
✔ time, POSITIVE, 1000, nothing (201ms)
time, POSITIVE, 1000, list {
meterType: 'xs-meter-6',
compute: 30157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 0.364013671875
} 195
✔ time, POSITIVE, 1000, list (202ms)
too much computation
✖ time, POSITIVE, 1000, listHard time, POSITIVE, 1000, listHard, 836, xsnap test worker exited: too much computation
time, POSITIVE, 1000, hardList {
meterType: 'xs-meter-6',
compute: 473516,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 5542,
mapSetRemoveCount: 0,
maxBucketSize: 25,
time: 18.388916015625
} 214
✔ time, POSITIVE, 1000, hardList (223ms)
time, POSITIVE, 10000, nothing {
meterType: 'xs-meter-6',
compute: 112157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 0.906982421875
} 194
✔ time, POSITIVE, 10000, nothing (202ms)
time, POSITIVE, 10000, list {
meterType: 'xs-meter-6',
compute: 192157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 3.531982421875
} 194
✔ time, POSITIVE, 10000, list (201ms)
too much computation
✖ time, POSITIVE, 10000, listHard time, POSITIVE, 10000, listHard, 847, xsnap test worker exited: too much computation
time, POSITIVE, 10000, hardList {
meterType: 'xs-meter-6',
compute: 4280516,
allocate: 260179616,
allocateChunksCalls: 53,
allocateSlotsCalls: 2,
garbageCollectionCount: 2049,
mapSetAddCount: 32542,
mapSetRemoveCount: 0,
maxBucketSize: 100,
time: 13159.19384765625
} 13350
✔ time, POSITIVE, 10000, hardList (13.3s)
time, POSITIVE, 100000, nothing {
meterType: 'xs-meter-6',
compute: 1012157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 0,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 8.985107421875
} 204
✔ time, POSITIVE, 100000, nothing (211ms)
time, POSITIVE, 100000, list {
meterType: 'xs-meter-6',
compute: 1812157,
allocate: 42074144,
allocateChunksCalls: 1,
allocateSlotsCalls: 2,
garbageCollectionCount: 1,
mapSetAddCount: 2417,
mapSetRemoveCount: 0,
maxBucketSize: 17,
time: 40.39306640625
} 231
✔ time, POSITIVE, 100000, list (238ms)
too much computation
✖ time, POSITIVE, 100000, listHard time, POSITIVE, 100000, listHard, 834, xsnap test worker exited: too much computation
✖ Timed out while running tests
21 tests were pending in test/test-harden-perf.js
◌ time, POSITIVE, 100000, hardList
◌ time, NEGATIVE, 10, nothing
◌ time, NEGATIVE, 10, list
◌ time, NEGATIVE, 10, listHard
◌ time, NEGATIVE, 10, hardList
◌ time, NEGATIVE, 100, nothing
◌ time, NEGATIVE, 100, list
◌ time, NEGATIVE, 100, listHard
◌ time, NEGATIVE, 100, hardList
◌ time, NEGATIVE, 1000, nothing
◌ time, NEGATIVE, 1000, list
◌ time, NEGATIVE, 1000, listHard
◌ time, NEGATIVE, 1000, hardList
◌ time, NEGATIVE, 10000, nothing
◌ time, NEGATIVE, 10000, list
◌ time, NEGATIVE, 10000, listHard
◌ time, NEGATIVE, 10000, hardList
◌ time, NEGATIVE, 100000, nothing
◌ time, NEGATIVE, 100000, list
◌ time, NEGATIVE, 100000, listHard
◌ time, NEGATIVE, 100000, hardList
time, BOTH, 100000, listHard
test/test-harden-perf.js:98
97: const after = Date.now();
98: t.fail(`${title}, ${after - before}, ${reason.message}`);
99: }
time, BOTH, 100000, listHard, 659, xsnap test worker exited: too much computation
› test/test-harden-perf.js:98:15
time, BOTH, 100000, hardList
test/test-harden-perf.js:98
97: const after = Date.now();
98: t.fail(`${title}, ${after - before}, ${reason.message}`);
99: }
time, BOTH, 100000, hardList, 117031, xsnap test worker exited: too much computation
› test/test-harden-perf.js:98:15
time, POSITIVE, 1000, listHard
test/test-harden-perf.js:98
97: const after = Date.now();
98: t.fail(`${title}, ${after - before}, ${reason.message}`);
99: }
time, POSITIVE, 1000, listHard, 836, xsnap test worker exited: too much computation
› test/test-harden-perf.js:98:15
time, POSITIVE, 10000, listHard
test/test-harden-perf.js:98
97: const after = Date.now();
98: t.fail(`${title}, ${after - before}, ${reason.message}`);
99: }
time, POSITIVE, 10000, listHard, 847, xsnap test worker exited: too much computation
› test/test-harden-perf.js:98:15
time, POSITIVE, 100000, listHard
test/test-harden-perf.js:98
97: const after = Date.now();
98: t.fail(`${title}, ${after - before}, ${reason.message}`);
99: }
time, POSITIVE, 100000, listHard, 834, xsnap test worker exited: too much computation
› test/test-harden-perf.js:98:15
5 tests failed
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
(1):xsnap(test-harden-perf)$
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment