Skip to content

Commit

Permalink
Bumps rollup and rollup plugins, adds preventAssignment, fixes StoneC…
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed May 8, 2022
1 parent 20f2ddb commit 6bf6216
Show file tree
Hide file tree
Showing 14 changed files with 243 additions and 223 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="chart1652043482277" width="16" height="9"></canvas>
<canvas id="chart1652044767023" width="16" height="9"></canvas>
</div>
<script>
const format = (num) => {
Expand All @@ -51,18 +51,18 @@
chunked.map((chunk) => chunk.join('')).join(' ') + fractionStr
)
}
const ctx1652043482277 = document
.getElementById('chart1652043482277')
const ctx1652044767023 = document
.getElementById('chart1652044767023')
.getContext('2d')
const chart1652043482277 = new Chart(ctx1652043482277, {
const chart1652044767023 = new Chart(ctx1652044767023, {
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: [20380,1706,14594,820],
backgroundColor: ["hsl(120, 85%, 55%)","hsl(10.044000000000006, 85%, 55%)","hsl(85.93199999999999, 85%, 55%)","hsl(4.8239999999999945, 85%, 55%)"],
borderColor: ["hsl(120, 85%, 55%)","hsl(10.044000000000006, 85%, 55%)","hsl(85.93199999999999, 85%, 55%)","hsl(4.8239999999999945, 85%, 55%)"],
data: [19064,1716,14278,838],
backgroundColor: ["hsl(120, 85%, 55%)","hsl(10.799999999999999, 85%, 55%)","hsl(89.88000000000001, 85%, 55%)","hsl(5.280000000000007, 85%, 55%)"],
borderColor: ["hsl(120, 85%, 55%)","hsl(10.799999999999999, 85%, 55%)","hsl(89.88000000000001, 85%, 55%)","hsl(5.280000000000007, 85%, 55%)"],
borderWidth: 2,
},
],
Expand Down
22 changes: 11 additions & 11 deletions benchmark/results/general.json
@@ -1,31 +1,31 @@
{
"name": "General performance suite",
"date": "2022-05-08T20:58:02.277Z",
"date": "2022-05-08T21:19:27.023Z",
"version": "1.1.0",
"results": [
{
"name": "Blind cycle a traffic light 500 times by transition",
"ops": 20380,
"ops": 19064,
"margin": 1.18,
"percentSlower": 0
},
{
"name": "Blind cycle a hooked traffic light 500 times by transition",
"ops": 1706,
"margin": 1.01,
"percentSlower": 91.63
"ops": 1716,
"margin": 0.74,
"percentSlower": 91
},
{
"name": "Blind cycle a traffic light 500 times by action",
"ops": 14594,
"margin": 0.89,
"percentSlower": 28.39
"ops": 14278,
"margin": 1,
"percentSlower": 25.1
},
{
"name": "Blind cycle a hooked traffic light 500 times by action",
"ops": 820,
"margin": 1.46,
"percentSlower": 95.98
"ops": 838,
"margin": 0.82,
"percentSlower": 95.6
}
],
"fastest": {
Expand Down
2 changes: 1 addition & 1 deletion dist/es6/version.js
@@ -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
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
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.

0 comments on commit 6bf6216

Please sign in to comment.