• nikolaos's avatar
    Add script injection when replaying with callstats.py · 5fa1c61e
    nikolaos authored
    This allows benchmarking without --single-process and correctly
    gathering --runtime-call-stats numbers.
    
    Add optional parameter to %GetAndResetRuntimeCallStats
    
    -  Without any parameter, it returns a string with the runtime call
       statistics (as before).
    -  With one string parameter, it appends the statistics to the file with
       that file name.
    -  With one integer parameter (which must be 1=stdout or 2=stderr), it
       prints the statistics to the output with of that file descriptor.
    
    The injected script is automatically generated.
    Also, callstats.py does not have a hardwired DEFAULT_SITES anymore.
    
    R=cbruni@chromium.org
    BUG=
    LOG=N
    
    Review-Url: https://codereview.chromium.org/1966193002
    Cr-Commit-Position: refs/heads/master@{#36172}
    5fa1c61e
Name
Last commit
Last update
..
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-i18n.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-json.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-liveedit.cc Loading commit data...
runtime-maths.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-simd.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-uri.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...