Skip to content

Commit 1cbe5bc

Browse files
committed
Global var leak
1 parent 1ade629 commit 1cbe5bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmark/entity_manager.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ suite('EntityManager', function() {
3333
})
3434

3535
bench('query on 1000 entities with 1 component (500 matches)', function() {
36-
keep = em.query(A)
36+
em.query(A)
3737
})
3838

3939
bench('query on 1000 entities with 3 components (84 matches)', function() {
40-
keep = em.query(A, B, C)
40+
em.query(A, B, C)
4141
})
4242

4343
bench('query on 1000 entities with 10 components (1 match)', function() {
44-
keep = em.query(A, B, C, D, E, F, G, H, I, J)
44+
em.query(A, B, C, D, E, F, G, H, I, J)
4545
})
4646
})
4747

0 commit comments

Comments
 (0)