Skip to content

Commit

Permalink
JssmError extension, fixes StoneCypher/fsl#755; instance name on erro…
Browse files Browse the repository at this point in the history
…r object, fixes StoneCypher/fsl#746; state at error time, fixes StoneCypher/fsl#742; target state at error time, fixes StoneCypher/fsl#743base message, fixes StoneCypher/fsl#741; materialized error, fixes StoneCypher/fsl#740
  • Loading branch information
StoneCypher committed May 16, 2022
1 parent 9db9bad commit 53e9566
Show file tree
Hide file tree
Showing 18 changed files with 509 additions and 340 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="chart1652624561752" width="16" height="9"></canvas>
<canvas id="chart1652678790258" width="16" height="9"></canvas>
</div>
<script>
const format = (num) => {
Expand All @@ -51,18 +51,18 @@
chunked.map((chunk) => chunk.join('')).join(' ') + fractionStr
)
}
const ctx1652624561752 = document
.getElementById('chart1652624561752')
const ctx1652678790258 = document
.getElementById('chart1652678790258')
.getContext('2d')
const chart1652624561752 = new Chart(ctx1652624561752, {
const chart1652678790258 = new Chart(ctx1652678790258, {
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: [6904,12502,1256,6663,6256,6092,5537,6037,6349,26128,14044,1610,1469,11312,10920,9914,9639,67892,68500,68153,8966],
backgroundColor: ["hsl(12.095999999999998, 85%, 55%)","hsl(21.9, 85%, 55%)","hsl(2.195999999999998, 85%, 55%)","hsl(11.676000000000005, 85%, 55%)","hsl(10.955999999999994, 85%, 55%)","hsl(10.668000000000001, 85%, 55%)","hsl(9.695999999999998, 85%, 55%)","hsl(10.572000000000003, 85%, 55%)","hsl(11.123999999999995, 85%, 55%)","hsl(45.768, 85%, 55%)","hsl(24.599999999999998, 85%, 55%)","hsl(2.819999999999993, 85%, 55%)","hsl(2.5680000000000005, 85%, 55%)","hsl(19.812000000000005, 85%, 55%)","hsl(19.128, 85%, 55%)","hsl(17.364, 85%, 55%)","hsl(16.883999999999993, 85%, 55%)","hsl(118.932, 85%, 55%)","hsl(120, 85%, 55%)","hsl(119.38799999999999, 85%, 55%)","hsl(15.708000000000006, 85%, 55%)"],
borderColor: ["hsl(12.095999999999998, 85%, 55%)","hsl(21.9, 85%, 55%)","hsl(2.195999999999998, 85%, 55%)","hsl(11.676000000000005, 85%, 55%)","hsl(10.955999999999994, 85%, 55%)","hsl(10.668000000000001, 85%, 55%)","hsl(9.695999999999998, 85%, 55%)","hsl(10.572000000000003, 85%, 55%)","hsl(11.123999999999995, 85%, 55%)","hsl(45.768, 85%, 55%)","hsl(24.599999999999998, 85%, 55%)","hsl(2.819999999999993, 85%, 55%)","hsl(2.5680000000000005, 85%, 55%)","hsl(19.812000000000005, 85%, 55%)","hsl(19.128, 85%, 55%)","hsl(17.364, 85%, 55%)","hsl(16.883999999999993, 85%, 55%)","hsl(118.932, 85%, 55%)","hsl(120, 85%, 55%)","hsl(119.38799999999999, 85%, 55%)","hsl(15.708000000000006, 85%, 55%)"],
data: [2939,6873,740,2962,2773,2648,2622,3199,3102,10456,7734,799,732,4709,5223,4320,4420,36709,35570,34510,4020],
backgroundColor: ["hsl(9.612000000000005, 85%, 55%)","hsl(22.464, 85%, 55%)","hsl(2.4239999999999955, 85%, 55%)","hsl(9.683999999999992, 85%, 55%)","hsl(9.059999999999997, 85%, 55%)","hsl(8.651999999999994, 85%, 55%)","hsl(8.568000000000001, 85%, 55%)","hsl(10.451999999999993, 85%, 55%)","hsl(10.140000000000004, 85%, 55%)","hsl(34.17600000000001, 85%, 55%)","hsl(25.283999999999992, 85%, 55%)","hsl(2.6160000000000085, 85%, 55%)","hsl(2.3879999999999937, 85%, 55%)","hsl(15.395999999999997, 85%, 55%)","hsl(17.076000000000004, 85%, 55%)","hsl(14.123999999999995, 85%, 55%)","hsl(14.448000000000008, 85%, 55%)","hsl(120, 85%, 55%)","hsl(116.28000000000002, 85%, 55%)","hsl(112.81200000000001, 85%, 55%)","hsl(13.140000000000004, 85%, 55%)"],
borderColor: ["hsl(9.612000000000005, 85%, 55%)","hsl(22.464, 85%, 55%)","hsl(2.4239999999999955, 85%, 55%)","hsl(9.683999999999992, 85%, 55%)","hsl(9.059999999999997, 85%, 55%)","hsl(8.651999999999994, 85%, 55%)","hsl(8.568000000000001, 85%, 55%)","hsl(10.451999999999993, 85%, 55%)","hsl(10.140000000000004, 85%, 55%)","hsl(34.17600000000001, 85%, 55%)","hsl(25.283999999999992, 85%, 55%)","hsl(2.6160000000000085, 85%, 55%)","hsl(2.3879999999999937, 85%, 55%)","hsl(15.395999999999997, 85%, 55%)","hsl(17.076000000000004, 85%, 55%)","hsl(14.123999999999995, 85%, 55%)","hsl(14.448000000000008, 85%, 55%)","hsl(120, 85%, 55%)","hsl(116.28000000000002, 85%, 55%)","hsl(112.81200000000001, 85%, 55%)","hsl(13.140000000000004, 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-15T14:22:41.752Z",
"date": "2022-05-16T05:26:30.258Z",
"version": "1.2.0",
"results": [
{
"name": "Blind cycle a traffic light 500 times by transition",
"ops": 6904,
"margin": 1.92,
"percentSlower": 89.92
"ops": 2939,
"margin": 3.43,
"percentSlower": 91.99
},
{
"name": "Blind cycle a traffic light 500 times by action",
"ops": 12502,
"margin": 7.15,
"percentSlower": 81.75
"ops": 6873,
"margin": 3.44,
"percentSlower": 81.28
},
{
"name": "Blind cycle a basic-hooked traffic light 500 times by transition",
"ops": 1256,
"margin": 5.67,
"percentSlower": 98.17
"ops": 740,
"margin": 3.19,
"percentSlower": 97.98
},
{
"name": "Blind cycle a named-hooked traffic light 500 times by transition",
"ops": 6663,
"margin": 3.16,
"percentSlower": 90.27
"ops": 2962,
"margin": 2.65,
"percentSlower": 91.93
},
{
"name": "Blind cycle an any-transition traffic light 500 times by transition",
"ops": 6256,
"margin": 3.26,
"percentSlower": 90.87
"ops": 2773,
"margin": 3.29,
"percentSlower": 92.45
},
{
"name": "Blind cycle an exit hooked traffic light 500 times by transition",
"ops": 6092,
"margin": 1.48,
"percentSlower": 91.11
"ops": 2648,
"margin": 5.28,
"percentSlower": 92.79
},
{
"name": "Blind cycle an enter hooked traffic light 500 times by transition",
"ops": 5537,
"margin": 6.92,
"percentSlower": 91.92
"ops": 2622,
"margin": 3.33,
"percentSlower": 92.86
},
{
"name": "Blind cycle a standard-transition hooked light by transition",
"ops": 6037,
"margin": 5.72,
"percentSlower": 91.19
"ops": 3199,
"margin": 5.23,
"percentSlower": 91.29
},
{
"name": "Blind cycle a main-transition hooked light by transition",
"ops": 6349,
"margin": 2.27,
"percentSlower": 90.73
"ops": 3102,
"margin": 4.37,
"percentSlower": 91.55
},
{
"name": "Blind cycle a force-transition hooked light by transition",
"ops": 26128,
"margin": 1.07,
"percentSlower": 61.86
"ops": 10456,
"margin": 3.01,
"percentSlower": 71.52
},
{
"name": "Blind cycle a traffic light 500 times by action",
"ops": 14044,
"margin": 2.37,
"percentSlower": 79.5
"ops": 7734,
"margin": 4.01,
"percentSlower": 78.93
},
{
"name": "Blind cycle a basic-hooked traffic light 500 times by action",
"ops": 1610,
"margin": 2.03,
"percentSlower": 97.65
"ops": 799,
"margin": 2.79,
"percentSlower": 97.82
},
{
"name": "Blind cycle a named-hooked traffic light 500 times by action",
"ops": 1469,
"margin": 0.76,
"percentSlower": 97.86
"ops": 732,
"margin": 2.67,
"percentSlower": 98.01
},
{
"name": "Blind cycle an any-action traffic light 500 times by action",
"ops": 11312,
"margin": 1.22,
"percentSlower": 83.49
"ops": 4709,
"margin": 2.78,
"percentSlower": 87.17
},
{
"name": "Blind cycle a global-action traffic light 500 times by action",
"ops": 10920,
"margin": 4.62,
"percentSlower": 84.06
"ops": 5223,
"margin": 2.81,
"percentSlower": 85.77
},
{
"name": "Blind cycle an exit hooked traffic light 500 times by action",
"ops": 9914,
"margin": 1.56,
"percentSlower": 85.53
"ops": 4320,
"margin": 3.07,
"percentSlower": 88.23
},
{
"name": "Blind cycle an enter hooked traffic light 500 times by action",
"ops": 9639,
"margin": 2.9,
"percentSlower": 85.93
"ops": 4420,
"margin": 2.6,
"percentSlower": 87.96
},
{
"name": "Blind cycle a standard transition tl 500 times by action",
"ops": 67892,
"margin": 1.37,
"percentSlower": 0.89
"ops": 36709,
"margin": 3.6,
"percentSlower": 0
},
{
"name": "Blind cycle a main transition tl 500 times by action",
"ops": 68500,
"margin": 0.94,
"percentSlower": 0
"ops": 35570,
"margin": 3.5,
"percentSlower": 3.1
},
{
"name": "Blind cycle a forced transition tl 500 times by action",
"ops": 68153,
"margin": 1.11,
"percentSlower": 0.51
"ops": 34510,
"margin": 3.01,
"percentSlower": 5.99
},
{
"name": "Kitchen Sink 500 times",
"ops": 8966,
"margin": 2.08,
"percentSlower": 86.91
"ops": 4020,
"margin": 4.2,
"percentSlower": 89.05
}
],
"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 transition",
"index": 2
"name": "Blind cycle a named-hooked traffic light 500 times by action",
"index": 12
}
}

0 comments on commit 53e9566

Please sign in to comment.