Commit b52b3f6
test: reduce buffer size in buffer-creation test
This test is allocating much more memory than necessary to actually
reproduce the original problem. Lowering the amount of memory allocated
increases performance at least in some cases and makes this test less
likely to time out on SmartOS.
PR-URL: #11177
Ref: #10166
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Julien Gilli <jgilli@nodejs.org>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 6ccbf38 commit b52b3f6Copy full SHA for b52b3f6
File tree
Expand file treeCollapse file tree
1 file changed
+2
-2
lines changedOpen diff view settings
Filter options
- test/sequential
Expand file treeCollapse file tree
1 file changed
+2
-2
lines changedOpen diff view settings
Collapse file
test/sequential/test-buffer-creation-regression.js
Copy file name to clipboardExpand all lines: test/sequential/test-buffer-creation-regression.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | | - |
25 | 23 | |
| 24 | + |
| 25 | + |
26 | 26 | |
27 | 27 | |
28 | 28 | |
|
0 commit comments