Skip to content

Commit

Permalink
fixed performance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Feb 28, 2018
1 parent 2dba343 commit 3bde5bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/perf/perf.js
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ test("Map: initializing", function(t) {

var start = Date.now()
for (i = 0; i < iterationsCount; i++) {
map = mobx.map()
map = mobx.observable.map()
}
var end = Date.now()
log("Initilizing " + iterationsCount + " maps: " + (end - start) + " ms.")
Expand All @@ -524,7 +524,7 @@ test("Map: looking up properties", function(t) {
gc()
var iterationsCount = 1000
var propertiesCount = 100
var map = mobx.map()
var map = mobx.observable.map()
var i
var p

Expand Down Expand Up @@ -556,7 +556,7 @@ test("Map: setting and deleting properties", function(t) {
gc()
var iterationsCount = 1000
var propertiesCount = 100
var map = mobx.map()
var map = mobx.observable.map()
var i
var p

Expand Down

0 comments on commit 3bde5bc

Please sign in to comment.