-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Diego Ferreiro Val
committed
Jun 18, 2019
1 parent
23a4cbf
commit edb9d25
Showing
14 changed files
with
90 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ | |
{ "path": "../utils" }, | ||
{ "path": "../console-stream" }, | ||
{ "path": "../builder" }, | ||
{ "path": "../types" } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,8 @@ | |
"outDir": "dist", | ||
"module": "es6", | ||
"resolveJsonModule": false | ||
} | ||
}, | ||
"references": [ | ||
{ "path": "../types" }, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
type BenchmarkPrimitiveNode = BenchmarkPrimitiveRunNode; | ||
|
||
interface BenchmarkPrimitiveRunNode { | ||
startedAt: number; | ||
fn: Function; | ||
name: string; | ||
parent: BenchmarkPrimitiveNode; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
export interface BenchmarkInfo { | ||
benchmarkName: string, | ||
benchmarkEntry: string, | ||
benchmarkFolder: string, | ||
benchmarkSignature: string | ||
} | ||
|
||
export interface BenchmarkRuntimeConfig { | ||
maxDuration: number; | ||
minSampleCount: number, | ||
iterations: number, | ||
iterateOnClient: boolean | ||
} | ||
|
||
export interface BenchmarkMetrics { | ||
[key: string]: number; | ||
aggregate: number; | ||
script: number; | ||
} | ||
|
||
export enum BenchmarkNodeType { Benchmark, Group } | ||
export type BenchmarkNodes = BenchmarkGroupNode[] | BenchmarkResultNode[]; | ||
|
||
export interface BenchmarkResultNode { | ||
type: BenchmarkNodeType.Benchmark; | ||
benchmark: string; | ||
startedAt: number; | ||
metrics: BenchmarkMetrics | ||
} | ||
|
||
export interface BenchmarkGroupNode { | ||
type: BenchmarkNodeType.Group; | ||
group: string; | ||
nodes: BenchmarkNodes; | ||
aggregate: number; | ||
} | ||
|
||
export interface BenchmarkResults { | ||
benchmarkName: string; | ||
executedIterations: number; | ||
aggregate: number; | ||
results: BenchmarkNodes; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./config"; | ||
export * from "./benchmark"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters