UNPKG
lighter-json
Version:
latest (2.0.0)
2.0.0
1.0.2
1.0.1
1.0.0
A lightweight JSON utility library.
github.com/lighterio/lighter-json
lighterio/lighter-json
lighter-json
/
test
/
stringify-bench.js
15 lines
(12 loc)
•
256 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict'
/* global describe it */
var
JSON
=
require
(
'../lighter-json'
)
var
bench =
global
.
bench
||
function
(
) {}
describe
(
'Benchmarks'
,
function
(
) {
bench
(
''
,
function
(
) {
it
(
''
,
function
(
) { })
it
(
''
,
function
(
) { }) }) })