aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src/eprof.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-04-26 14:31:42 +0200
committerHans Bolinder <[email protected]>2016-06-10 09:50:02 +0200
commit1b336f995d930d6542e67310b72d855e3571523f (patch)
treeca80ca5766a15fb5e67dd97ac4ada3e3ace92c86 /lib/tools/src/eprof.erl
parent7979f72ce15ec5eeb8e0e9cfc1c291f10c4f0432 (diff)
downloadotp-1b336f995d930d6542e67310b72d855e3571523f.tar.gz
otp-1b336f995d930d6542e67310b72d855e3571523f.tar.bz2
otp-1b336f995d930d6542e67310b72d855e3571523f.zip
tools: Optimize adding multiple modules to an Xref server
Extracting data from debug info in BEAM files is parallelized. The speed-up is not outstanding. If memory is not an issue, adding `{spawn_opt, [{min_heap_size, <large number>}]}' to the option list of xref:start/2 can make a (small) difference. Reading of modules from a directory is parallelized. Attempts to parallelize all modules when adding a release have been rejected since the gain showed to be small compared to the increased complexity of the code. Using a process for coordinating the reading has not been attempted.
Diffstat (limited to 'lib/tools/src/eprof.erl')
0 files changed, 0 insertions, 0 deletions