Skip to content
Success

Changes

Summary

  1. Memprof: optimize random sampling (#9466) (commit: 3d63a10) (details)
Commit 3d63a106b678f54c47698f11db7d810d91d442ec by noreply
Memprof: optimize random sampling (#9466)

Instead of using the stdlib logf function for computing logarithms, we
use a faster polynomial-based approximation.

We use the xoshiro PRNG instead of the Mersenne Twister.  xoshiro is
simpler and faster.

We generate samples by batches so that compilers can vectorize the
generation loops using SIMD instructions when possible.
(commit: 3d63a10)
The file was modifiedconfigure (diff)
The file was modifiedconfigure.ac (diff)
The file was modifiedruntime/memprof.c (diff)
The file was modifiedaclocal.m4 (diff)
The file was modifiedChanges (diff)
The file was modifiedruntime/caml/m.h.in (diff)