Skip to content

Commit

Permalink
underway
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed May 22, 2022
1 parent d486935 commit d4e8bbb
Show file tree
Hide file tree
Showing 21 changed files with 3,694 additions and 76 deletions.
14 changes: 7 additions & 7 deletions benchmark/results/general.chart.html
Expand Up @@ -28,7 +28,7 @@
</head>
<body>
<div class="container">
<canvas id="chart1653235458057" width="16" height="9"></canvas>
<canvas id="chart1653240886056" width="16" height="9"></canvas>
</div>
<script>
const format = (num) => {
Expand All @@ -51,18 +51,18 @@
chunked.map((chunk) => chunk.join('')).join(' ') + fractionStr
)
}
const ctx1653235458057 = document
.getElementById('chart1653235458057')
const ctx1653240886056 = document
.getElementById('chart1653240886056')
.getContext('2d')
const chart1653235458057 = new Chart(ctx1653235458057, {
const chart1653240886056 = new Chart(ctx1653240886056, {
type: 'bar',
data: {
labels: ["Blind cycle a traffic light 500 times by transition","Blind cycle a traffic light 500 times by action","Blind cycle a basic-hooked traffic light 500 times by transition","Blind cycle a named-hooked traffic light 500 times by transition","Blind cycle an any-transition traffic light 500 times by transition","Blind cycle an exit hooked traffic light 500 times by transition","Blind cycle an enter hooked traffic light 500 times by transition","Blind cycle a standard-transition hooked light by transition","Blind cycle a main-transition hooked light by transition","Blind cycle a force-transition hooked light by transition","Blind cycle a traffic light 500 times by action","Blind cycle a basic-hooked traffic light 500 times by action","Blind cycle a named-hooked traffic light 500 times by action","Blind cycle an any-action traffic light 500 times by action","Blind cycle a global-action traffic light 500 times by action","Blind cycle an exit hooked traffic light 500 times by action","Blind cycle an enter hooked traffic light 500 times by action","Blind cycle a standard transition tl 500 times by action","Blind cycle a main transition tl 500 times by action","Blind cycle a forced transition tl 500 times by action","Kitchen Sink 500 times"],
datasets: [
{
data: [5492,11313,1222,6423,5530,4964,4063,4762,5262,12195,4250,575,807,5073,8971,7494,8212,63872,64640,64562,8935],
backgroundColor: ["hsl(10.200000000000001, 85%, 55%)","hsl(21, 85%, 55%)","hsl(2.2680000000000007, 85%, 55%)","hsl(11.927999999999997, 85%, 55%)","hsl(10.272000000000002, 85%, 55%)","hsl(9.216000000000008, 85%, 55%)","hsl(7.548000000000008, 85%, 55%)","hsl(8.844000000000005, 85%, 55%)","hsl(9.768, 85%, 55%)","hsl(22.644000000000005, 85%, 55%)","hsl(7.8839999999999915, 85%, 55%)","hsl(1.0680000000000005, 85%, 55%)","hsl(1.5, 85%, 55%)","hsl(9.419999999999993, 85%, 55%)","hsl(16.655999999999995, 85%, 55%)","hsl(13.908000000000003, 85%, 55%)","hsl(15.240000000000004, 85%, 55%)","hsl(118.572, 85%, 55%)","hsl(120, 85%, 55%)","hsl(119.856, 85%, 55%)","hsl(16.583999999999993, 85%, 55%)"],
borderColor: ["hsl(10.200000000000001, 85%, 55%)","hsl(21, 85%, 55%)","hsl(2.2680000000000007, 85%, 55%)","hsl(11.927999999999997, 85%, 55%)","hsl(10.272000000000002, 85%, 55%)","hsl(9.216000000000008, 85%, 55%)","hsl(7.548000000000008, 85%, 55%)","hsl(8.844000000000005, 85%, 55%)","hsl(9.768, 85%, 55%)","hsl(22.644000000000005, 85%, 55%)","hsl(7.8839999999999915, 85%, 55%)","hsl(1.0680000000000005, 85%, 55%)","hsl(1.5, 85%, 55%)","hsl(9.419999999999993, 85%, 55%)","hsl(16.655999999999995, 85%, 55%)","hsl(13.908000000000003, 85%, 55%)","hsl(15.240000000000004, 85%, 55%)","hsl(118.572, 85%, 55%)","hsl(120, 85%, 55%)","hsl(119.856, 85%, 55%)","hsl(16.583999999999993, 85%, 55%)"],
data: [4909.6,11361.2,1253.3,5839.5,5689.5,5463.2,5466.8,5688.7,5164.8,18770.7,12778.1,1556.3,1420.4,10038.6,10312,8044.5,9152.1,67703.9,64669.4,67228.6,8722.8],
backgroundColor: ["hsl(8.7, 85%, 55%)","hsl(20.136, 85%, 55%)","hsl(2.219999999999993, 85%, 55%)","hsl(10.355999999999995, 85%, 55%)","hsl(10.080000000000007, 85%, 55%)","hsl(9.683999999999992, 85%, 55%)","hsl(9.683999999999992, 85%, 55%)","hsl(10.080000000000007, 85%, 55%)","hsl(9.155999999999993, 85%, 55%)","hsl(33.264, 85%, 55%)","hsl(22.644000000000005, 85%, 55%)","hsl(2.7599999999999967, 85%, 55%)","hsl(2.519999999999993, 85%, 55%)","hsl(17.796, 85%, 55%)","hsl(18.276000000000007, 85%, 55%)","hsl(14.255999999999995, 85%, 55%)","hsl(16.223999999999997, 85%, 55%)","hsl(120, 85%, 55%)","hsl(114.624, 85%, 55%)","hsl(119.16, 85%, 55%)","hsl(15.455999999999992, 85%, 55%)"],
borderColor: ["hsl(8.7, 85%, 55%)","hsl(20.136, 85%, 55%)","hsl(2.219999999999993, 85%, 55%)","hsl(10.355999999999995, 85%, 55%)","hsl(10.080000000000007, 85%, 55%)","hsl(9.683999999999992, 85%, 55%)","hsl(9.683999999999992, 85%, 55%)","hsl(10.080000000000007, 85%, 55%)","hsl(9.155999999999993, 85%, 55%)","hsl(33.264, 85%, 55%)","hsl(22.644000000000005, 85%, 55%)","hsl(2.7599999999999967, 85%, 55%)","hsl(2.519999999999993, 85%, 55%)","hsl(17.796, 85%, 55%)","hsl(18.276000000000007, 85%, 55%)","hsl(14.255999999999995, 85%, 55%)","hsl(16.223999999999997, 85%, 55%)","hsl(120, 85%, 55%)","hsl(114.624, 85%, 55%)","hsl(119.16, 85%, 55%)","hsl(15.455999999999992, 85%, 55%)"],
borderWidth: 2,
},
],
Expand Down
136 changes: 68 additions & 68 deletions benchmark/results/general.json
@@ -1,141 +1,141 @@
{
"name": "General performance suite",
"date": "2022-05-22T16:04:18.057Z",
"date": "2022-05-22T17:34:46.056Z",
"version": "1.2.0",
"results": [
{
"name": "Blind cycle a traffic light 500 times by transition",
"ops": 5492,
"margin": 2.84,
"percentSlower": 91.5
"ops": 4909.6,
"margin": 3.39,
"percentSlower": 92.75
},
{
"name": "Blind cycle a traffic light 500 times by action",
"ops": 11313,
"margin": 2.04,
"percentSlower": 82.5
"ops": 11361.2,
"margin": 2.91,
"percentSlower": 83.22
},
{
"name": "Blind cycle a basic-hooked traffic light 500 times by transition",
"ops": 1222,
"margin": 2.74,
"percentSlower": 98.11
"ops": 1253.3,
"margin": 1.38,
"percentSlower": 98.15
},
{
"name": "Blind cycle a named-hooked traffic light 500 times by transition",
"ops": 6423,
"margin": 1.37,
"percentSlower": 90.06
"ops": 5839.5,
"margin": 2.25,
"percentSlower": 91.37
},
{
"name": "Blind cycle an any-transition traffic light 500 times by transition",
"ops": 5530,
"margin": 2.17,
"percentSlower": 91.44
"ops": 5689.5,
"margin": 1.02,
"percentSlower": 91.6
},
{
"name": "Blind cycle an exit hooked traffic light 500 times by transition",
"ops": 4964,
"margin": 3.35,
"percentSlower": 92.32
"ops": 5463.2,
"margin": 1.97,
"percentSlower": 91.93
},
{
"name": "Blind cycle an enter hooked traffic light 500 times by transition",
"ops": 4063,
"margin": 3.54,
"percentSlower": 93.71
"ops": 5466.8,
"margin": 0.88,
"percentSlower": 91.93
},
{
"name": "Blind cycle a standard-transition hooked light by transition",
"ops": 4762,
"margin": 4.35,
"percentSlower": 92.63
"ops": 5688.7,
"margin": 1.02,
"percentSlower": 91.6
},
{
"name": "Blind cycle a main-transition hooked light by transition",
"ops": 5262,
"margin": 2.9,
"percentSlower": 91.86
"ops": 5164.8,
"margin": 8.28,
"percentSlower": 92.37
},
{
"name": "Blind cycle a force-transition hooked light by transition",
"ops": 12195,
"margin": 5.82,
"percentSlower": 81.13
"ops": 18770.7,
"margin": 1.13,
"percentSlower": 72.28
},
{
"name": "Blind cycle a traffic light 500 times by action",
"ops": 4250,
"margin": 6.67,
"percentSlower": 93.43
"ops": 12778.1,
"margin": 2.61,
"percentSlower": 81.13
},
{
"name": "Blind cycle a basic-hooked traffic light 500 times by action",
"ops": 575,
"margin": 6.62,
"percentSlower": 99.11
"ops": 1556.3,
"margin": 0.96,
"percentSlower": 97.7
},
{
"name": "Blind cycle a named-hooked traffic light 500 times by action",
"ops": 807,
"margin": 6.19,
"percentSlower": 98.75
"ops": 1420.4,
"margin": 0.4,
"percentSlower": 97.9
},
{
"name": "Blind cycle an any-action traffic light 500 times by action",
"ops": 5073,
"margin": 6.73,
"percentSlower": 92.15
"ops": 10038.6,
"margin": 0.97,
"percentSlower": 85.17
},
{
"name": "Blind cycle a global-action traffic light 500 times by action",
"ops": 8971,
"margin": 2.65,
"percentSlower": 86.12
"ops": 10312,
"margin": 1.92,
"percentSlower": 84.77
},
{
"name": "Blind cycle an exit hooked traffic light 500 times by action",
"ops": 7494,
"margin": 2.34,
"percentSlower": 88.41
"ops": 8044.5,
"margin": 8.17,
"percentSlower": 88.12
},
{
"name": "Blind cycle an enter hooked traffic light 500 times by action",
"ops": 8212,
"margin": 2.56,
"percentSlower": 87.3
"ops": 9152.1,
"margin": 0.79,
"percentSlower": 86.48
},
{
"name": "Blind cycle a standard transition tl 500 times by action",
"ops": 63872,
"margin": 0.72,
"percentSlower": 1.19
"ops": 67703.9,
"margin": 1.15,
"percentSlower": 0
},
{
"name": "Blind cycle a main transition tl 500 times by action",
"ops": 64640,
"margin": 0.79,
"percentSlower": 0
"ops": 64669.4,
"margin": 7.89,
"percentSlower": 4.48
},
{
"name": "Blind cycle a forced transition tl 500 times by action",
"ops": 64562,
"margin": 1.86,
"percentSlower": 0.12
"ops": 67228.6,
"margin": 2.34,
"percentSlower": 0.7
},
{
"name": "Kitchen Sink 500 times",
"ops": 8935,
"margin": 3.77,
"percentSlower": 86.18
"ops": 8722.8,
"margin": 0.73,
"percentSlower": 87.12
}
],
"fastest": {
"name": "Blind cycle a main transition tl 500 times by action",
"index": 18
"name": "Blind cycle a standard transition tl 500 times by action",
"index": 17
},
"slowest": {
"name": "Blind cycle a basic-hooked traffic light 500 times by action",
"index": 11
"name": "Blind cycle a basic-hooked traffic light 500 times by transition",
"index": 2
}
}
1 change: 1 addition & 0 deletions docs/docs/.nojekyll
@@ -0,0 +1 @@
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
5 changes: 5 additions & 0 deletions docs/docs/assets/custom.css
@@ -0,0 +1,5 @@

:root { --color-background: #def; }

body .tsd-page-title { background-color: #bdf; }
body .tsd-page-toolbar { background-color: #acf; border-bottom-color: #9be; }
92 changes: 92 additions & 0 deletions docs/docs/assets/highlight.css
@@ -0,0 +1,92 @@
:root {
--light-hl-0: #AF00DB;
--dark-hl-0: #C586C0;
--light-hl-1: #000000;
--dark-hl-1: #D4D4D4;
--light-hl-2: #001080;
--dark-hl-2: #9CDCFE;
--light-hl-3: #A31515;
--dark-hl-3: #CE9178;
--light-hl-4: #795E26;
--dark-hl-4: #DCDCAA;
--light-hl-5: #098658;
--dark-hl-5: #B5CEA8;
--light-hl-6: #008000;
--dark-hl-6: #6A9955;
--light-hl-7: #0000FF;
--dark-hl-7: #569CD6;
--light-hl-8: #0070C1;
--dark-hl-8: #4FC1FF;
--light-hl-9: #800000;
--dark-hl-9: #569CD6;
--light-code-background: #F5F5F5;
--dark-code-background: #1E1E1E;
}

@media (prefers-color-scheme: light) { :root {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
--hl-3: var(--light-hl-3);
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
--hl-9: var(--light-hl-9);
--code-background: var(--light-code-background);
} }

@media (prefers-color-scheme: dark) { :root {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
--hl-3: var(--dark-hl-3);
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
--hl-9: var(--dark-hl-9);
--code-background: var(--dark-code-background);
} }

body.light {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
--hl-3: var(--light-hl-3);
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
--hl-9: var(--light-hl-9);
--code-background: var(--light-code-background);
}

body.dark {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
--hl-3: var(--dark-hl-3);
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
--hl-9: var(--dark-hl-9);
--code-background: var(--dark-code-background);
}

.hl-0 { color: var(--hl-0); }
.hl-1 { color: var(--hl-1); }
.hl-2 { color: var(--hl-2); }
.hl-3 { color: var(--hl-3); }
.hl-4 { color: var(--hl-4); }
.hl-5 { color: var(--hl-5); }
.hl-6 { color: var(--hl-6); }
.hl-7 { color: var(--hl-7); }
.hl-8 { color: var(--hl-8); }
.hl-9 { color: var(--hl-9); }
pre, code { background: var(--code-background); }

0 comments on commit d4e8bbb

Please sign in to comment.