Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit d6b7aa4

Browse files
committed
Only do the simple test, so that the memory leak issue can be shared with the Facebookers
1 parent 35df09d commit d6b7aa4

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

benchmarks/runner.php

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,29 @@
3434
require 'lib/InsertOneLargeDoc.php';
3535

3636
$taskClasses = [
37-
// '\MongoDB\Benchmark\Raw\FlatBSONEncoding',
38-
// '\MongoDB\Benchmark\Raw\DeepBSONEncoding',
39-
// '\MongoDB\Benchmark\Raw\FullBSONEncoding',
40-
// '\MongoDB\Benchmark\Raw\FlatBSONDecoding',
41-
// '\MongoDB\Benchmark\Raw\DeepBSONDecoding',
42-
// '\MongoDB\Benchmark\Raw\FullBSONDecoding',
43-
// '\MongoDB\Benchmark\Raw\RunCommand',
37+
'\MongoDB\Benchmark\Raw\FlatBSONEncoding',
38+
/*
39+
'\MongoDB\Benchmark\Raw\DeepBSONEncoding',
40+
'\MongoDB\Benchmark\Raw\FullBSONEncoding',
41+
'\MongoDB\Benchmark\Raw\FlatBSONDecoding',
42+
'\MongoDB\Benchmark\Raw\DeepBSONDecoding',
43+
'\MongoDB\Benchmark\Raw\FullBSONDecoding',
44+
'\MongoDB\Benchmark\Raw\RunCommand',
4445
'\MongoDB\Benchmark\Raw\FindOneByID',
4546
'\MongoDB\Benchmark\Raw\InsertOneSmallDoc',
4647
'\MongoDB\Benchmark\Raw\InsertOneLargeDoc',
47-
//
48-
// '\MongoDB\Benchmark\Lib\FlatBSONEncoding',
49-
// '\MongoDB\Benchmark\Lib\DeepBSONEncoding',
50-
// '\MongoDB\Benchmark\Lib\FullBSONEncoding',
51-
// '\MongoDB\Benchmark\Lib\FlatBSONDecoding',
52-
// '\MongoDB\Benchmark\Lib\DeepBSONDecoding',
53-
// '\MongoDB\Benchmark\Lib\FullBSONDecoding',
54-
// '\MongoDB\Benchmark\Lib\RunCommand',
48+
49+
'\MongoDB\Benchmark\Lib\FlatBSONEncoding',
50+
'\MongoDB\Benchmark\Lib\DeepBSONEncoding',
51+
'\MongoDB\Benchmark\Lib\FullBSONEncoding',
52+
'\MongoDB\Benchmark\Lib\FlatBSONDecoding',
53+
'\MongoDB\Benchmark\Lib\DeepBSONDecoding',
54+
'\MongoDB\Benchmark\Lib\FullBSONDecoding',
55+
'\MongoDB\Benchmark\Lib\RunCommand',
5556
'\MongoDB\Benchmark\Lib\FindOneByID',
5657
'\MongoDB\Benchmark\Lib\InsertOneSmallDoc',
5758
'\MongoDB\Benchmark\Lib\InsertOneLargeDoc',
59+
*/
5860
];
5961

6062
for ($j = 0; $j < 1; $j++)

0 commit comments

Comments
 (0)