Why Nostr? What is Njump?
2024-05-16 17:04:08
in reply to

P-Y on Nostr: As I'm poking around tests, I look at the different layers of tests I have for ...

As I'm poking around tests, I look at the different layers of tests I have for ObjectGrowthDetector.

I have a test class that operates on in memory fake heap dumps, defined using a DSL and operated on as in memory byte arrays. It runs 12 tests in 100 ms.

I have a test class that operates on the heap of the test itself, leveraging hotspot heap dump APIs, which dumps into a temp file on the file system. It runs 10 tests in 9.5 seconds.

10 seconds vs 100 ms.
Author Public Key
npub19wwxc29uufy6rmegf9aza3hkcqdu00s8yyfyhr88mglptysgp3tsz7g5sa