Skip to content

Instantly share code, notes, and snippets.

@hotsphink
Created July 29, 2020 16:33
Show Gist options
  • Select an option

  • Save hotsphink/d87430575cd6d3bdc2132864e86657b7 to your computer and use it in GitHub Desktop.

Select an option

Save hotsphink/d87430575cd6d3bdc2132864e86657b7 to your computer and use it in GitHub Desktop.
mkgist-created gist
String stats:
- Questions:
- How much memory did we save via deduplication?
- How many strings did we save via deduplication?
- What percent of ropes end up flattened?
- How much memory does eager extensibility save?
- What percent of rope nodes are directly referenced?
- How many string compares are we doing?
- How many bytes of string compares are we doing?
- How many string hashes are we doing?
- How many bytes of string hashes are we doing?
- Would it make sense:
- to deduplicate during tenuring?
- to deduplicate and atomize all contents matching atoms?
- to atomize all deduplicated strings?
- to atomize all deduplicatable strings (during tenuring)?
- to preserve hashes on all deduplicatable strings?
- to deduplicate within tenured heap?
- with or without atomizing?
- Scenarios:
- Some standard (AWSY?) load
- Nailed-down deterministic load
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment