Project

General

Profile

Actions

Bug #9430

closed

[PATCH] benchmark/driver: avoid large alloc in driver process

Added by normalperson (Eric Wong) over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:59869]

Description

Using backtick to capture output on bm_so_reverse_complement leads
to unpredictable results because the Ruby process capturing needs to
slurp the 25M output of that benchmark, meaning the GC run of the
driver process ends up bottlenecking the processes being
benchmarked.

Instead, just redirect to File::NULL which is /dev/null on Unix-like
systems.


The following changes since commit 41bdefd56f628781a19f5d5d5f6a9a05cb4f3e9e:

tracepoint.c: disable tracepoint (2014-01-19 08:56:58 +0000)

are available in the git repository at:

git://80x24.org/ruby.git benchdriver-system

for you to fetch changes up to c4ac0560c88e45e026fdfaa313b6417458da53ce:

benchmark/driver: avoid large alloc in driver process (2014-01-19 10:34:47 +0000)


Eric Wong (1):
benchmark/driver: avoid large alloc in driver process

benchmark/driver.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


Files

Actions

Also available in: Atom PDF