We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9bfea5 + f13383a commit 23d0f89Copy full SHA for 23d0f89
site/static/compare.html
@@ -551,7 +551,10 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
551
552
let benches =
553
data.comparisons.
554
- filter(n => filter.name && filter.name.trim() ? n.benchmark.includes(filter.name.trim()) : true).
+ filter(n => {
555
+ const f = filter.name && filter.name.trim();
556
+ return !f || (n.benchmark + "-" + n.profile).includes(f);
557
+ }).
558
reduce((accum, next) => {
559
accum[next.benchmark + "-" + next.profile] ||= [];
560
accum[next.benchmark + "-" + next.profile].push(next);
@@ -781,4 +784,4 @@ <h2>Comparing <span id="stat-header">{{stat}}</span> between <span id="before">{
781
784
</script>
782
785
</body>
783
786
-</html>
787
+</html>
0 commit comments