Skip to content

Commit

Permalink
Merge pull request #454 from StoneCypher/BumpTsAndTooling
Browse files Browse the repository at this point in the history
Bump ts and tooling
  • Loading branch information
StoneCypher authored May 8, 2022
2 parents d9853ee + c7b93af commit 63736ef
Show file tree
Hide file tree
Showing 15 changed files with 1,314 additions and 466 deletions.
14 changes: 7 additions & 7 deletions benchmark/results/general.chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</head>
<body>
<div class="container">
<canvas id="chart1652041706059" width="16" height="9"></canvas>
<canvas id="chart1652046365363" width="16" height="9"></canvas>
</div>
<script>
const format = (num) => {
Expand All @@ -51,18 +51,18 @@
chunked.map((chunk) => chunk.join('')).join(' ') + fractionStr
)
}
const ctx1652041706059 = document
.getElementById('chart1652041706059')
const ctx1652046365363 = document
.getElementById('chart1652046365363')
.getContext('2d')
const chart1652041706059 = new Chart(ctx1652041706059, {
const chart1652046365363 = new Chart(ctx1652046365363, {
type: 'bar',
data: {
labels: ["Blind cycle a traffic light 500 times by transition","Blind cycle a hooked traffic light 500 times by transition","Blind cycle a traffic light 500 times by action","Blind cycle a hooked traffic light 500 times by action"],
datasets: [
{
data: [19571,1720,13093,812],
backgroundColor: ["hsl(120, 85%, 55%)","hsl(10.548000000000007, 85%, 55%)","hsl(80.28, 85%, 55%)","hsl(4.980000000000007, 85%, 55%)"],
borderColor: ["hsl(120, 85%, 55%)","hsl(10.548000000000007, 85%, 55%)","hsl(80.28, 85%, 55%)","hsl(4.980000000000007, 85%, 55%)"],
data: [20030,1707,13722,828],
backgroundColor: ["hsl(120, 85%, 55%)","hsl(10.223999999999995, 85%, 55%)","hsl(82.212, 85%, 55%)","hsl(4.955999999999994, 85%, 55%)"],
borderColor: ["hsl(120, 85%, 55%)","hsl(10.223999999999995, 85%, 55%)","hsl(82.212, 85%, 55%)","hsl(4.955999999999994, 85%, 55%)"],
borderWidth: 2,
},
],
Expand Down
22 changes: 11 additions & 11 deletions benchmark/results/general.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"name": "General performance suite",
"date": "2022-05-08T20:28:26.059Z",
"date": "2022-05-08T21:46:05.363Z",
"version": "1.1.0",
"results": [
{
"name": "Blind cycle a traffic light 500 times by transition",
"ops": 19571,
"margin": 1.41,
"ops": 20030,
"margin": 2.06,
"percentSlower": 0
},
{
"name": "Blind cycle a hooked traffic light 500 times by transition",
"ops": 1720,
"ops": 1707,
"margin": 0.83,
"percentSlower": 91.21
"percentSlower": 91.48
},
{
"name": "Blind cycle a traffic light 500 times by action",
"ops": 13093,
"margin": 6.18,
"percentSlower": 33.1
"ops": 13722,
"margin": 1.78,
"percentSlower": 31.49
},
{
"name": "Blind cycle a hooked traffic light 500 times by action",
"ops": 812,
"margin": 1.39,
"percentSlower": 95.85
"ops": 828,
"margin": 2.04,
"percentSlower": 95.87
}
],
"fastest": {
Expand Down
2 changes: 1 addition & 1 deletion dist/es6/jssm-dot.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/es6/version.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const version = "5.54.0";
const version = "5.55.0";
export { version };
2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.js

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions dist/jssm.es5.cjs.nonmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,6 @@ function reduce(from) {


var reduceTo6391 = { reduce: reduce, reductions: reductions };
var reduceTo6391_1 = reduceTo6391.reduce;

const array_box_if_string = n => typeof n === 'string' ? [n] : n;
// this is explicitly about other peoples' data, so it has to be weakly typed
Expand Down Expand Up @@ -15887,7 +15886,7 @@ function peg$parse(input, options) {
}
}

const version = "5.54.0";
const version = "5.55.0";

// whargarbl lots of these return arrays could/should be sets
/* eslint-disable complexity */
Expand Down Expand Up @@ -16091,7 +16090,7 @@ function compile_rule_handler(rule) {
return { agg_as: 'transition', val: compile_rule_handle_transition(rule) };
}
if (rule.key === 'machine_language') {
return { agg_as: 'machine_language', val: reduceTo6391_1(rule.value) };
return { agg_as: 'machine_language', val: reduceTo6391.reduce(rule.value) };
}
if (rule.key === 'state_declaration') {
if (!rule.name) {
Expand Down
2 changes: 1 addition & 1 deletion dist/jssm.es5.iife.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions dist/jssm.es5.iife.nonmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,6 @@ var jssm = (function (exports) {


var reduceTo6391 = { reduce: reduce, reductions: reductions };
var reduceTo6391_1 = reduceTo6391.reduce;

const array_box_if_string = n => typeof n === 'string' ? [n] : n;
// this is explicitly about other peoples' data, so it has to be weakly typed
Expand Down Expand Up @@ -15886,7 +15885,7 @@ var jssm = (function (exports) {
}
}

const version = "5.54.0";
const version = "5.55.0";

// whargarbl lots of these return arrays could/should be sets
/* eslint-disable complexity */
Expand Down Expand Up @@ -16090,7 +16089,7 @@ var jssm = (function (exports) {
return { agg_as: 'transition', val: compile_rule_handle_transition(rule) };
}
if (rule.key === 'machine_language') {
return { agg_as: 'machine_language', val: reduceTo6391_1(rule.value) };
return { agg_as: 'machine_language', val: reduceTo6391.reduce(rule.value) };
}
if (rule.key === 'state_declaration') {
if (!rule.name) {
Expand Down Expand Up @@ -16780,6 +16779,8 @@ var jssm = (function (exports) {
exports.weighted_rand_select = weighted_rand_select;
exports.weighted_sample_select = weighted_sample_select;

Object.defineProperty(exports, '__esModule', { value: true });

return exports;

}({}));
})({});
2 changes: 1 addition & 1 deletion docs/docs/classes/Machine.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/docs/modules.html

Large diffs are not rendered by default.

Loading

0 comments on commit 63736ef

Please sign in to comment.