@best/runtime
Advanced tools
Comparing version 4.0.0-alpha8 to 4.0.0-alpha9
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
const BEFORE_ALL = 'beforeAll'; | ||
@@ -2,0 +8,0 @@ const BEFORE = 'before'; |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
import { initializeBenchmarkConfig, getBenckmarkState } from './state'; | ||
@@ -2,0 +8,0 @@ import { runBenchmark as _runBenchmark } from './runner'; |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
import { makeDescribe, makeBenchmark, makeBenchmarkRun } from './utils/primitives-nodes'; | ||
@@ -2,0 +8,0 @@ const handler = (event, state) => { |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
import { dispatch } from './state'; | ||
@@ -2,0 +8,0 @@ import { HOOKS, RUN_BENCHMARK, MODES } from './constants'; |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
export function normalizeResults(benchmarkState) { | ||
@@ -2,0 +8,0 @@ const { benchmarkName, executedIterations, executedTime: aggregate, results } = benchmarkState; |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
import { raf, time, nextTick, withMacroTask, formatTime } from './utils/timers'; | ||
@@ -2,0 +8,0 @@ import { HOOKS } from './constants'; |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
import { getBenchmarkRootNode } from './state'; | ||
@@ -2,0 +8,0 @@ import { runBenchmarkIteration } from './run_iteration'; |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
import primitivesHandler from './primitives-handler'; | ||
@@ -2,0 +8,0 @@ import { makeDescribe } from './utils/primitives-nodes'; |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
export default function cloneState(obj) { | ||
@@ -2,0 +8,0 @@ const stateClone = Object.assign({}, obj); |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
export default Object.freeze({ | ||
@@ -2,0 +8,0 @@ benchmarkName: "", |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
import { RUN_BENCHMARK } from '../constants'; | ||
@@ -2,0 +8,0 @@ export const makeDescribe = (name, parent, mode) => ({ |
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
/* | ||
* This code is a slight modification of VueJS next-tick | ||
@@ -3,0 +9,0 @@ * https://github.com/vuejs/vue/blob/dev/src/core/util/next-tick.js |
@@ -0,1 +1,7 @@ | ||
/* | ||
* Copyright (c) 2019, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
export function validateState(benchmarkState) { | ||
@@ -2,0 +8,0 @@ const { rootDescribeBlock, currentDescribeBlock, benchmarkDefinitionError } = benchmarkState; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "4.0.0-alpha8", | ||
"version": "4.0.0-alpha9", | ||
"description": "Best Runtime", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
], | ||
"gitHead": "4d0c42f121a7ac6b8b26079579519d216f8b2751" | ||
"gitHead": "6b3e5ae79feebd37eece19a9b6bc6b2d8e897d59" | ||
} |
21860
15
560