Skip to content

Commit

Permalink
Merge pull request #488 from StoneCypher/Doc_Action_Transition_ForceT…
Browse files Browse the repository at this point in the history
…ransition

Document action, transition, force_transition; fixes StoneCypher/fsl#801, StoneCypher/fsl#802, StoneCypher/fsl#803
  • Loading branch information
StoneCypher committed May 22, 2022
2 parents e084bf4 + f0f3961 commit 6a6f1c8
Show file tree
Hide file tree
Showing 15 changed files with 607 additions and 277 deletions.
16 changes: 8 additions & 8 deletions benchmark/results/general.chart.html
Expand Up @@ -28,7 +28,7 @@
</head>
<body>
<div class="container">
<canvas id="chart1653259428897" width="16" height="9"></canvas>
<canvas id="chart1653260432516" width="16" height="9"></canvas>
</div>
<script>
const format = (num) => {
Expand All @@ -51,18 +51,18 @@
chunked.map((chunk) => chunk.join('')).join(' ') + fractionStr
)
}
const ctx1653259428897 = document
.getElementById('chart1653259428897')
const ctx1653260432516 = document
.getElementById('chart1653260432516')
.getContext('2d')
const chart1653259428897 = new Chart(ctx1653259428897, {
const chart1653260432516 = new Chart(ctx1653260432516, {
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"],
labels: ["Blind cycle a traffic light 100 times by transition","Blind cycle a traffic light 100 times by action","Blind cycle a basic-hooked traffic light 100 times by transition","Blind cycle a named-hooked traffic light 100 times by transition","Blind cycle an any-transition traffic light 100 times by transition","Blind cycle an exit hooked traffic light 100 times by transition","Blind cycle an enter hooked traffic light 100 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 100 times by action","Blind cycle a basic-hooked traffic light 100 times by action","Blind cycle a named-hooked traffic light 100 times by action","Blind cycle an any-action traffic light 100 times by action","Blind cycle a global-action traffic light 100 times by action","Blind cycle an exit hooked traffic light 100 times by action","Blind cycle an enter hooked traffic light 100 times by action","Blind cycle a standard transition tl 100 times by action","Blind cycle a main transition tl 100 times by action","Blind cycle a forced transition tl 100 times by action","Kitchen Sink 100 times"],
datasets: [
{
data: [32573,68310,6869,28116,24539,27922,26496,28325,29332,102621,69761,7706,7109,56396,55612,49902,49427,327884,327343,338499,45676],
backgroundColor: ["hsl(11.544000000000006, 85%, 55%)","hsl(24.216000000000008, 85%, 55%)","hsl(2.4360000000000017, 85%, 55%)","hsl(9.972000000000003, 85%, 55%)","hsl(8.7, 85%, 55%)","hsl(9.9, 85%, 55%)","hsl(9.395999999999997, 85%, 55%)","hsl(10.044000000000006, 85%, 55%)","hsl(10.404000000000002, 85%, 55%)","hsl(36.383999999999986, 85%, 55%)","hsl(24.732, 85%, 55%)","hsl(2.7360000000000015, 85%, 55%)","hsl(2.519999999999993, 85%, 55%)","hsl(19.991999999999997, 85%, 55%)","hsl(19.716000000000008, 85%, 55%)","hsl(17.687999999999995, 85%, 55%)","hsl(17.519999999999992, 85%, 55%)","hsl(116.232, 85%, 55%)","hsl(116.04, 85%, 55%)","hsl(120, 85%, 55%)","hsl(16.18799999999999, 85%, 55%)"],
borderColor: ["hsl(11.544000000000006, 85%, 55%)","hsl(24.216000000000008, 85%, 55%)","hsl(2.4360000000000017, 85%, 55%)","hsl(9.972000000000003, 85%, 55%)","hsl(8.7, 85%, 55%)","hsl(9.9, 85%, 55%)","hsl(9.395999999999997, 85%, 55%)","hsl(10.044000000000006, 85%, 55%)","hsl(10.404000000000002, 85%, 55%)","hsl(36.383999999999986, 85%, 55%)","hsl(24.732, 85%, 55%)","hsl(2.7360000000000015, 85%, 55%)","hsl(2.519999999999993, 85%, 55%)","hsl(19.991999999999997, 85%, 55%)","hsl(19.716000000000008, 85%, 55%)","hsl(17.687999999999995, 85%, 55%)","hsl(17.519999999999992, 85%, 55%)","hsl(116.232, 85%, 55%)","hsl(116.04, 85%, 55%)","hsl(120, 85%, 55%)","hsl(16.18799999999999, 85%, 55%)"],
data: [33274,68682,6933,31672,31163,28764,28279,29944,30822,145295,65670,7761,7080,55610,54958,48468,48632,320236,322994,326004,47818],
backgroundColor: ["hsl(12.251999999999994, 85%, 55%)","hsl(25.283999999999992, 85%, 55%)","hsl(2.5559999999999947, 85%, 55%)","hsl(11.664, 85%, 55%)","hsl(11.472000000000001, 85%, 55%)","hsl(10.583999999999993, 85%, 55%)","hsl(10.404000000000002, 85%, 55%)","hsl(11.027999999999999, 85%, 55%)","hsl(11.340000000000003, 85%, 55%)","hsl(53.483999999999995, 85%, 55%)","hsl(24.168, 85%, 55%)","hsl(2.8559999999999945, 85%, 55%)","hsl(2.6040000000000023, 85%, 55%)","hsl(20.472000000000005, 85%, 55%)","hsl(20.232, 85%, 55%)","hsl(17.84400000000001, 85%, 55%)","hsl(17.904000000000003, 85%, 55%)","hsl(117.876, 85%, 55%)","hsl(118.896, 85%, 55%)","hsl(120, 85%, 55%)","hsl(17.604000000000003, 85%, 55%)"],
borderColor: ["hsl(12.251999999999994, 85%, 55%)","hsl(25.283999999999992, 85%, 55%)","hsl(2.5559999999999947, 85%, 55%)","hsl(11.664, 85%, 55%)","hsl(11.472000000000001, 85%, 55%)","hsl(10.583999999999993, 85%, 55%)","hsl(10.404000000000002, 85%, 55%)","hsl(11.027999999999999, 85%, 55%)","hsl(11.340000000000003, 85%, 55%)","hsl(53.483999999999995, 85%, 55%)","hsl(24.168, 85%, 55%)","hsl(2.8559999999999945, 85%, 55%)","hsl(2.6040000000000023, 85%, 55%)","hsl(20.472000000000005, 85%, 55%)","hsl(20.232, 85%, 55%)","hsl(17.84400000000001, 85%, 55%)","hsl(17.904000000000003, 85%, 55%)","hsl(117.876, 85%, 55%)","hsl(118.896, 85%, 55%)","hsl(120, 85%, 55%)","hsl(17.604000000000003, 85%, 55%)"],
borderWidth: 2,
},
],
Expand Down
166 changes: 83 additions & 83 deletions benchmark/results/general.json
@@ -1,141 +1,141 @@
{
"name": "General performance suite",
"date": "2022-05-22T22:43:48.897Z",
"date": "2022-05-22T23:00:32.516Z",
"version": "1.2.0",
"results": [
{
"name": "Blind cycle a traffic light 500 times by transition",
"ops": 32573,
"margin": 1.07,
"percentSlower": 90.38
"name": "Blind cycle a traffic light 100 times by transition",
"ops": 33274,
"margin": 1.27,
"percentSlower": 89.79
},
{
"name": "Blind cycle a traffic light 500 times by action",
"ops": 68310,
"margin": 1.92,
"percentSlower": 79.82
"name": "Blind cycle a traffic light 100 times by action",
"ops": 68682,
"margin": 1.26,
"percentSlower": 78.93
},
{
"name": "Blind cycle a basic-hooked traffic light 500 times by transition",
"ops": 6869,
"margin": 0.91,
"percentSlower": 97.97
"name": "Blind cycle a basic-hooked traffic light 100 times by transition",
"ops": 6933,
"margin": 0.57,
"percentSlower": 97.87
},
{
"name": "Blind cycle a named-hooked traffic light 500 times by transition",
"ops": 28116,
"margin": 7.66,
"percentSlower": 91.69
"name": "Blind cycle a named-hooked traffic light 100 times by transition",
"ops": 31672,
"margin": 0.92,
"percentSlower": 90.28
},
{
"name": "Blind cycle an any-transition traffic light 500 times by transition",
"ops": 24539,
"margin": 13.36,
"percentSlower": 92.75
"name": "Blind cycle an any-transition traffic light 100 times by transition",
"ops": 31163,
"margin": 1.1,
"percentSlower": 90.44
},
{
"name": "Blind cycle an exit hooked traffic light 500 times by transition",
"ops": 27922,
"margin": 1.05,
"percentSlower": 91.75
"name": "Blind cycle an exit hooked traffic light 100 times by transition",
"ops": 28764,
"margin": 1.82,
"percentSlower": 91.18
},
{
"name": "Blind cycle an enter hooked traffic light 500 times by transition",
"ops": 26496,
"margin": 1.69,
"percentSlower": 92.17
"name": "Blind cycle an enter hooked traffic light 100 times by transition",
"ops": 28279,
"margin": 4.05,
"percentSlower": 91.33
},
{
"name": "Blind cycle a standard-transition hooked light by transition",
"ops": 28325,
"margin": 1.32,
"percentSlower": 91.63
"ops": 29944,
"margin": 1.28,
"percentSlower": 90.81
},
{
"name": "Blind cycle a main-transition hooked light by transition",
"ops": 29332,
"margin": 1.13,
"percentSlower": 91.33
"ops": 30822,
"margin": 0.89,
"percentSlower": 90.55
},
{
"name": "Blind cycle a force-transition hooked light by transition",
"ops": 102621,
"margin": 9.03,
"percentSlower": 69.68
"ops": 145295,
"margin": 0.82,
"percentSlower": 55.43
},
{
"name": "Blind cycle a traffic light 500 times by action",
"ops": 69761,
"margin": 0.6,
"percentSlower": 79.39
"name": "Blind cycle a traffic light 100 times by action",
"ops": 65670,
"margin": 2.62,
"percentSlower": 79.86
},
{
"name": "Blind cycle a basic-hooked traffic light 500 times by action",
"ops": 7706,
"margin": 1.6,
"percentSlower": 97.72
"name": "Blind cycle a basic-hooked traffic light 100 times by action",
"ops": 7761,
"margin": 0.97,
"percentSlower": 97.62
},
{
"name": "Blind cycle a named-hooked traffic light 500 times by action",
"ops": 7109,
"margin": 0.38,
"percentSlower": 97.9
"name": "Blind cycle a named-hooked traffic light 100 times by action",
"ops": 7080,
"margin": 1.27,
"percentSlower": 97.83
},
{
"name": "Blind cycle an any-action traffic light 500 times by action",
"ops": 56396,
"margin": 0.7,
"percentSlower": 83.34
"name": "Blind cycle an any-action traffic light 100 times by action",
"ops": 55610,
"margin": 0.87,
"percentSlower": 82.94
},
{
"name": "Blind cycle a global-action traffic light 500 times by action",
"ops": 55612,
"margin": 2.76,
"percentSlower": 83.57
"name": "Blind cycle a global-action traffic light 100 times by action",
"ops": 54958,
"margin": 2.09,
"percentSlower": 83.14
},
{
"name": "Blind cycle an exit hooked traffic light 500 times by action",
"ops": 49902,
"margin": 0.84,
"percentSlower": 85.26
"name": "Blind cycle an exit hooked traffic light 100 times by action",
"ops": 48468,
"margin": 1.08,
"percentSlower": 85.13
},
{
"name": "Blind cycle an enter hooked traffic light 500 times by action",
"ops": 49427,
"margin": 0.86,
"percentSlower": 85.4
"name": "Blind cycle an enter hooked traffic light 100 times by action",
"ops": 48632,
"margin": 1.21,
"percentSlower": 85.08
},
{
"name": "Blind cycle a standard transition tl 500 times by action",
"ops": 327884,
"margin": 0.73,
"percentSlower": 3.14
"name": "Blind cycle a standard transition tl 100 times by action",
"ops": 320236,
"margin": 2.39,
"percentSlower": 1.77
},
{
"name": "Blind cycle a main transition tl 500 times by action",
"ops": 327343,
"margin": 0.71,
"percentSlower": 3.3
"name": "Blind cycle a main transition tl 100 times by action",
"ops": 322994,
"margin": 2.78,
"percentSlower": 0.92
},
{
"name": "Blind cycle a forced transition tl 500 times by action",
"ops": 338499,
"margin": 0.89,
"name": "Blind cycle a forced transition tl 100 times by action",
"ops": 326004,
"margin": 1.04,
"percentSlower": 0
},
{
"name": "Kitchen Sink 500 times",
"ops": 45676,
"margin": 0.76,
"percentSlower": 86.51
"name": "Kitchen Sink 100 times",
"ops": 47818,
"margin": 0.8,
"percentSlower": 85.33
}
],
"fastest": {
"name": "Blind cycle a forced transition tl 500 times by action",
"name": "Blind cycle a forced transition tl 100 times by action",
"index": 19
},
"slowest": {
"name": "Blind cycle a basic-hooked traffic light 500 times by transition",
"name": "Blind cycle a basic-hooked traffic light 100 times by transition",
"index": 2
}
}

0 comments on commit 6a6f1c8

Please sign in to comment.