Skip to content

Introduce benchmark tests and improve snapshot attributes traversing#897

Merged
Yuyz0112 merged 3 commits intomasterfrom
perf
May 14, 2022
Merged

Introduce benchmark tests and improve snapshot attributes traversing#897
Yuyz0112 merged 3 commits intomasterfrom
perf

Conversation

@Yuyz0112
Copy link
Member

Before:

┌─────────┬────────────────────────────┬───────────────────────────────┬───────┬──────────┬────────────────────────────────────────────────────┐
│ (index) │           title            │             html              │ times │ duration │                     durations                      │
├─────────┼────────────────────────────┼───────────────────────────────┼───────┼──────────┼────────────────────────────────────────────────────┤
│    0    │ 'create 1000x10 DOM nodes' │ 'benchmark-dom-mutation.html' │  10   │  178.3   │ '185, 170, 164, 166, 173, 163, 182, 234, 184, 162' │
└─────────┴────────────────────────────┴───────────────────────────────┴───────┴──────────┴────────────────────────────────────────────────────┘

After:

┌─────────┬────────────────────────────┬───────────────────────────────┬───────┬──────────┬────────────────────────────────────────────────────┐
│ (index) │           title            │             html              │ times │ duration │                     durations                      │
├─────────┼────────────────────────────┼───────────────────────────────┼───────┼──────────┼────────────────────────────────────────────────────┤
│    0    │ 'create 1000x10 DOM nodes' │ 'benchmark-dom-mutation.html' │  10   │  145.9   │ '158, 153, 161, 140, 139, 142, 144, 143, 138, 141' │
└─────────┴────────────────────────────┴───────────────────────────────┴───────┴──────────┴────────────────────────────────────────────────────┘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants