UNPKG
test-performance
Version:
latest (1.1.3)
1.1.3
1.1.2
1.1.1
Simplifying testing performance
github.com/nickheal/test-performance
nickheal/test-performance
test-performance
/
src
/
baselineFunctions.ts
17 lines
(14 loc)
•
258 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export
default
{
standard
: {
expectedMsRunTime
:
12
,
func
:
(
dummyParam?: number
) =>
{
function
test
(
) {}
const
a = dummyParam ||
Math
.
random
();
if
(a >
0.5
) {
test
(); }
else
{
test
(); } }, }, };