finnh
Joined 15 years ago
Karma
2,846
Submissions
746
Member since
Jul 8
Joined 15 years ago
That explains why the swimmer, at least, looks a bit fake.
which is it? you contradict yourself in a single sentence.
cyber perhaps not so much...
I really like the free lunch / free launch pun here, intentional or not.
why the repost?
25% is not low overhead, but perhaps this example is the worse case and other tunings actually are low overhead. There's no exact definition I don't think, but anything much over 3% starts to feel like a lot of overhead to me.
Reading on:
> Our main technical insight is that the check whether an allocation should be sampled can be made free. This is done by folding it into the bump-pointer allocator check that PyPy’s GC uses to find out if it should start a minor collection. In this way the fast path with and without memory sampling are exactly the same.
That is cool, and means you only pay for the samples you produce = something you could leave enabled confidently, with a low-enough sample rate at least.