Skip to content

Commit 6ebd7d6

Browse files
committed
refactor: update benchmarks
1 parent 8b820e9 commit 6ebd7d6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

assets/app.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Alpine.data('barChart', function (data) {
2424
return {
2525
init() {
2626
highcharts.chart(this.$root, {
27-
colors: ['#b335dd', '#9231ef', '#6f6dff'],
27+
colors: ['#ca5bf2', '#408aff', '#6f6dff', '#334155', '#ed7d31'],
2828
title: {
2929
text: '',
3030
},
@@ -35,7 +35,7 @@ Alpine.data('barChart', function (data) {
3535
type: 'bar',
3636
},
3737
xAxis: {
38-
categories: ['Yup', 'Zod', 'VineJS'],
38+
categories: ['VineJS', 'Zod', 'Yup', 'Valibot', 'Joi'],
3939
gridLineWidth: 1,
4040
lineWidth: 0,
4141
},
@@ -90,7 +90,7 @@ Alpine.data('notification', function (version) {
9090
hide() {
9191
localStorage.setItem('_x_notificationKey', version)
9292
this.isVisible = false
93-
}
93+
},
9494
}
9595
})
9696

templates/partials/benchmarks.edge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div style="margin-bottom: 40px; text-align:center;">
22
<div
33
style="min-height: 400px;"
4-
x-data="barChart([521218, 1277525, 9744651])"
4+
x-data="barChart([11081135, 6478164, 434455, 5619021, 2110782])"
55
></div>
66
<span style="color: var(--mauve11); font-size: 14px;">
77
Operations per second (higher is better)

0 commit comments

Comments
 (0)