This repository was archived by the owner on Nov 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Benchmark graphs
AlexeyKupershtokh edited this page Dec 26, 2012
·
4 revisions
{1: 1}{0: 0, ..., 9: 9}{0: 0, ..., 99: 99}{0: 0, ..., 999: 999}{0: 0, ..., 9999: 9999}{'_1': '_1'}{'_0': '_0', ..., '_9': '_9'}{'_0': '_0', ..., '_99': '_99'}{'_0': '_0', ..., '_999': '_999'}{'_0': '_0', ..., '_9999': '_9999'}{a: 'a', b: {c: 'c', d: 'd', e: 'e'}, f: 'f'}{1: 1, 2: {3: 3, 4: 4, 5: 5}, 6: 6}100 x
{
a: {
b: {c: 'c', d: 'd', e: 'e'},
f: {g: 'g', h: 'h', i: 'i'},
j: {k: 'k', l: 'l', m: 'm'}
}
}(501 objects total, 900 string values)
100 x
{
1: {
2: {3: 3, 4: 4, 5: 5},
6: {7: 7, 8: 8, 9: 9},
10: {11: 11, 12: 12, 13: 13}
}
}(501 objects total, 900 numeric values)
[0][0, ..., 9][0, ..., 99][0, ..., 999][0, ..., 9999][0, ..., 99999][0][0, ..., 9][0, ..., 99][0, ..., 999][0, ..., 9999][0, ..., 99999]['a', ['b', 'c', 'd'], 'e']Array of 100 x
[
[
['c', 'd', 'e'],
['g', 'h', 'i'],
['k', 'l', 'm']
]
](501 arrays total, 900 string values)
A class instance with 4 numeric properties.
var Clazz = function(a, b, c, d) {
this.a = a;
this.b = b;
this.c = c;
this.d = d;
}
Clazz.prototype.clone = function() {
return new Clazz(this.a, this.b, this.c, this.d);
};
var instance = new Clazz(1, 2, 3, 4);An array of mixed values (ints, numbers, Date, nulls, strings, nested arrays):
10 values
100 values
1000 values
10000 values
new RegExp('a', 'gi');new Date;

































