facebook / CacheLib
File Change Frequency

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

File Change Frequency Overall
File Change Frequency Overall
The number of recorded file updates
  • There are 124 files with 24,186 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 0 files changed 51-100 times (0 lines of code)
    • 2 files changed 21-50 times (3,241 lines of code)
    • 13 files changed 6-20 times (4,016 lines of code)
    • 109 files changed 1-5 times (16,929 lines of code)
0% | 0% | 13% | 16% | 69%
Legend:
101+
51-100
21-50
6-20
1-5
explore: zoomable circles | data
File Change Frequency per File Extension
h, cpp, json, md, sh, txt, thrift, js, rs, cmake, yml, css, in, gitignore, clang-format, toml, plt, gitmodules, prettierignore, yaml
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
h0% | 0% | 21% | 14% | 63%
cpp0% | 0% | 0% | 19% | 80%
js0% | 0% | 0% | 83% | 16%
rs0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
thrift0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 0%
in0% | 0% | 0% | 0% | 0%
plt0% | 0% | 0% | 0% | 0%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
cachelib/allocator0% | 0% | 25% | 19% | 55%
cachelib/navy0% | 0% | 0% | 28% | 71%
website0% | 0% | 0% | 100% | 0%
website/src0% | 0% | 0% | 33% | 66%
cachelib/rust0% | 0% | 0% | 0% | 100%
cachelib/cachebench0% | 0% | 0% | 0% | 100%
cachelib/datatype0% | 0% | 0% | 0% | 100%
cachelib/common0% | 0% | 0% | 0% | 100%
cachelib/experimental0% | 0% | 0% | 0% | 100%
cachelib/benchmarks0% | 0% | 0% | 0% | 100%
cachelib/persistence0% | 0% | 0% | 0% | 100%
cachelib/shm0% | 0% | 0% | 0% | 100%
cachelib/compact_cache0% | 0% | 0% | 0% | 100%
cachelib/cmake0% | 0% | 0% | 0% | 0%
Most Frequently Changed Files (Top 50)

See data for all files...

File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
CacheAllocator-inl.h
in cachelib/allocator
2576 88 19 213 26 7
CacheAllocator.h
in cachelib/allocator
665 45 36 213 24 5
NvmCache-inl.h
in cachelib/allocator/nvmcache
595 24 18 229 17 4
164 3 21 236 14 5
sidebars.js
in website
194 - 21 228 11 4
BlockCache.cpp
in cachelib/navy/block_cache
590 22 46 240 11 4
BlockCache.h
in cachelib/navy/block_cache
181 9 46 240 9 3
NvmCache.h
in cachelib/allocator/nvmcache
204 16 18 203 9 4
CacheItem.h
in cachelib/allocator
214 2 21 194 9 6
NavyConfig.h
in cachelib/allocator/nvmcache
283 44 19 229 9 3
Factory.cpp
in cachelib/navy
314 36 46 229 9 4
CacheAllocatorConfig.h
in cachelib/allocator
719 18 19 213 8 6
index.js
in website/src/pages
92 1 72 232 6 2
NavySetup.cpp
in cachelib/allocator/nvmcache
212 10 46 229 6 3
CacheStats.cpp
in cachelib/allocator
254 15 18 194 6 5
Factory.h
in cachelib/navy
77 - 46 229 5 3
NavyConfig.cpp
in cachelib/allocator/nvmcache
175 4 19 229 5 3
RegionManager.cpp
in cachelib/navy/block_cache
402 26 57 240 5 3
HitsReinsertionPolicy.h
in cachelib/navy/block_cache
27 - 160 234 4 2
MemoryMonitor.h
in cachelib/allocator
80 7 171 213 4 1
Driver.h
in cachelib/navy/driver
84 - 91 203 4 2
CacheStatsInternal.h
in cachelib/allocator
101 - 70 194 4 3
RegionManager.h
in cachelib/navy/block_cache
130 6 57 240 4 3
Map.h
in cachelib/datatype
137 13 22 190 4 3
cachelib.cpp
in cachelib/rust/src
189 24 38 177 4 3
CacheStats.h
in cachelib/allocator
299 13 70 194 4 4
PercentageReinsertionPolicy.h
in cachelib/navy/block_cache
25 3 160 192 3 1
HitsReinsertionPolicy.cpp
in cachelib/navy/block_cache
28 2 169 234 3 2
custom.css
in website/src/css
53 - 39 232 3 3
learnmore.js
in website/src/pages
88 - 226 232 3 2
Region.cpp
in cachelib/navy/block_cache
121 11 57 240 3 3
CachelibRangeMapWorkloadBench.cpp
in cachelib/benchmarks
165 7 36 170 3 1
CachelibMapWorkloadBench.cpp
in cachelib/benchmarks
167 7 36 170 3 1
Region.h
in cachelib/navy/block_cache
184 22 57 240 3 3
MemoryMonitor.cpp
in cachelib/allocator
255 13 205 213 3 1
MM2Q.h
in cachelib/allocator
287 20 15 163 3 3
Driver.cpp
in cachelib/navy/driver
354 19 129 203 3 2
Handle.h
in cachelib/allocator
358 32 31 177 3 1
CacheItem-inl.h
in cachelib/allocator
391 51 21 194 3 2
cachelib-oss.cpp
in cachelib/rust/src
9 1 107 177 2 3
CacheVersion.h
in cachelib/allocator
17 - 157 185 2 1
Cargo.toml
in cachelib/rust
18 - 176 177 2 2
build.rs
in cachelib/rust
24 1 107 177 2 3
styles.module.css
in website/src/pages
39 - 226 227 2 1
AbstractCache.h
in cachelib/navy
40 - 129 203 2 2
CacheApiWrapper.h
in cachelib/allocator/nvmcache
41 5 119 185 2 2
MapView-inl.h
in cachelib/datatype
44 2 127 170 2 1
ChainedAllocs.h
in cachelib/allocator
57 2 127 177 2 1
CacheChainedItemIterator.h
in cachelib/allocator
69 4 127 164 2 2
TypedHandle.h
in cachelib/allocator
94 4 177 186 2 1
Files With Most Contributors (Top 50)
Files sorted by the number of unique email addresses found in commits.

See data for all files...

File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
CacheAllocator-inl.h
in cachelib/allocator
2576 88 19 213 26 7
CacheAllocator.h
in cachelib/allocator
665 45 36 213 24 5
NvmCache-inl.h
in cachelib/allocator/nvmcache
595 24 18 229 17 4
164 3 21 236 14 5
BlockCache.cpp
in cachelib/navy/block_cache
590 22 46 240 11 4
sidebars.js
in website
194 - 21 228 11 4
BlockCache.h
in cachelib/navy/block_cache
181 9 46 240 9 3
NavyConfig.h
in cachelib/allocator/nvmcache
283 44 19 229 9 3
Factory.cpp
in cachelib/navy
314 36 46 229 9 4
NvmCache.h
in cachelib/allocator/nvmcache
204 16 18 203 9 4
CacheItem.h
in cachelib/allocator
214 2 21 194 9 6
CacheAllocatorConfig.h
in cachelib/allocator
719 18 19 213 8 6
index.js
in website/src/pages
92 1 72 232 6 2
NavySetup.cpp
in cachelib/allocator/nvmcache
212 10 46 229 6 3
CacheStats.cpp
in cachelib/allocator
254 15 18 194 6 5
Factory.h
in cachelib/navy
77 - 46 229 5 3
RegionManager.cpp
in cachelib/navy/block_cache
402 26 57 240 5 3
NavyConfig.cpp
in cachelib/allocator/nvmcache
175 4 19 229 5 3
MemoryMonitor.h
in cachelib/allocator
80 7 171 213 4 1
HitsReinsertionPolicy.h
in cachelib/navy/block_cache
27 - 160 234 4 2
Driver.h
in cachelib/navy/driver
84 - 91 203 4 2
RegionManager.h
in cachelib/navy/block_cache
130 6 57 240 4 3
CacheStatsInternal.h
in cachelib/allocator
101 - 70 194 4 3
Map.h
in cachelib/datatype
137 13 22 190 4 3
cachelib.cpp
in cachelib/rust/src
189 24 38 177 4 3
CacheStats.h
in cachelib/allocator
299 13 70 194 4 4
PercentageReinsertionPolicy.h
in cachelib/navy/block_cache
25 3 160 192 3 1
Handle.h
in cachelib/allocator
358 32 31 177 3 1
MemoryMonitor.cpp
in cachelib/allocator
255 13 205 213 3 1
CachelibMapWorkloadBench.cpp
in cachelib/benchmarks
167 7 36 170 3 1
CachelibRangeMapWorkloadBench.cpp
in cachelib/benchmarks
165 7 36 170 3 1
HitsReinsertionPolicy.cpp
in cachelib/navy/block_cache
28 2 169 234 3 2
Driver.cpp
in cachelib/navy/driver
354 19 129 203 3 2
CacheItem-inl.h
in cachelib/allocator
391 51 21 194 3 2
learnmore.js
in website/src/pages
88 - 226 232 3 2
Region.h
in cachelib/navy/block_cache
184 22 57 240 3 3
Region.cpp
in cachelib/navy/block_cache
121 11 57 240 3 3
MM2Q.h
in cachelib/allocator
287 20 15 163 3 3
custom.css
in website/src/css
53 - 39 232 3 3
ChainedAllocs.h
in cachelib/allocator
57 2 127 177 2 1
Cache.h
in cachelib/allocator
98 - 163 168 2 1
CacheVersion.h
in cachelib/allocator
17 - 157 185 2 1
TypedHandle.h
in cachelib/allocator
94 4 177 186 2 1
CachelibMapOperationBench.cpp
in cachelib/benchmarks
162 14 36 120 2 1
JSONConfig.h
in cachelib/cachebench/util
102 11 71 81 2 1
Buffer.h
in cachelib/datatype
302 28 127 186 2 1
RangeMap.h
in cachelib/datatype
168 9 184 190 2 1
MapView-inl.h
in cachelib/datatype
44 2 127 170 2 1
Buffer-inl.h
in cachelib/datatype
182 10 127 186 2 1
lrucache.rs
in cachelib/rust/src
1061 34 38 177 2 1
Correlations

File Size vs. Number of Changes: 124 points

cachelib/allocator/MM2Q.h x: 287 lines of code y: 3 # changes cachelib/allocator/CacheStats.cpp x: 254 lines of code y: 6 # changes cachelib/allocator/nvmcache/NvmCache-inl.h x: 595 lines of code y: 17 # changes cachelib/allocator/nvmcache/NvmCache.h x: 204 lines of code y: 9 # changes cachelib/allocator/nvmcache/NavyConfig.cpp x: 175 lines of code y: 5 # changes cachelib/allocator/nvmcache/NavyConfig.h x: 283 lines of code y: 9 # changes cachelib/allocator/CacheAllocator-inl.h x: 2576 lines of code y: 26 # changes cachelib/allocator/CacheAllocatorConfig.h x: 719 lines of code y: 8 # changes website/docusaurus.config.js x: 164 lines of code y: 14 # changes website/sidebars.js x: 194 lines of code y: 11 # changes cachelib/allocator/CacheItem-inl.h x: 391 lines of code y: 3 # changes cachelib/allocator/CacheItem.h x: 214 lines of code y: 9 # changes cachelib/datatype/Map.h x: 137 lines of code y: 4 # changes cachelib/allocator/Handle.h x: 358 lines of code y: 3 # changes cachelib/persistence/PersistenceManager.cpp x: 291 lines of code y: 1 # changes cachelib/allocator/CacheAllocator.h x: 665 lines of code y: 24 # changes cachelib/allocator/CacheAllocatorFindApiWrapper.h x: 17 lines of code y: 1 # changes cachelib/benchmarks/CachelibMapOperationBench.cpp x: 162 lines of code y: 2 # changes cachelib/benchmarks/CachelibMapWorkloadBench.cpp x: 167 lines of code y: 3 # changes cachelib/experimental/objcache/ObjectCache.h x: 405 lines of code y: 2 # changes cachelib/rust/src/abomonation_cache.rs x: 118 lines of code y: 2 # changes cachelib/rust/src/cachelib.cpp x: 189 lines of code y: 4 # changes cachelib/rust/src/cachelib.h x: 95 lines of code y: 2 # changes cachelib/rust/src/lib.rs x: 132 lines of code y: 2 # changes cachelib/rust/src/lrucache.rs x: 1061 lines of code y: 2 # changes website/src/css/custom.css x: 53 lines of code y: 3 # changes cachelib/common/FurcHash.cpp x: 121 lines of code y: 1 # changes cachelib/common/MurmurHash.h x: 39 lines of code y: 1 # changes cachelib/benchmarks/StrictAliasingSafeReadBench.cpp x: 72 lines of code y: 1 # changes cachelib/cachebench/consistency/ValueHistory.cpp x: 227 lines of code y: 1 # changes cachelib/cachebench/workload/FastDiscrete.h x: 117 lines of code y: 1 # changes cachelib/allocator/nvmcache/NavySetup.cpp x: 212 lines of code y: 6 # changes cachelib/navy/Factory.cpp x: 314 lines of code y: 9 # changes cachelib/navy/Factory.h x: 77 lines of code y: 5 # changes cachelib/navy/block_cache/BlockCache.cpp x: 590 lines of code y: 11 # changes cachelib/navy/block_cache/BlockCache.h x: 181 lines of code y: 9 # changes cachelib/persistence/PersistenceManager.h x: 93 lines of code y: 1 # changes cachelib/navy/block_cache/Allocator.cpp x: 91 lines of code y: 1 # changes cachelib/navy/block_cache/Allocator.h x: 53 lines of code y: 1 # changes cachelib/navy/block_cache/Region.cpp x: 121 lines of code y: 3 # changes cachelib/navy/block_cache/Region.h x: 184 lines of code y: 3 # changes cachelib/navy/block_cache/RegionManager.cpp x: 402 lines of code y: 5 # changes cachelib/navy/block_cache/RegionManager.h x: 130 lines of code y: 4 # changes cachelib/navy/serialization/objects.thrift x: 65 lines of code y: 1 # changes cachelib/navy/scheduler/ThreadPoolJobQueue.cpp x: 137 lines of code y: 2 # changes cachelib/navy/serialization/RecordIO.cpp x: 205 lines of code y: 1 # changes cachelib/allocator/ChainedHashTable-inl.h x: 501 lines of code y: 1 # changes cachelib/allocator/MM2Q-inl.h x: 345 lines of code y: 2 # changes cachelib/allocator/MMLru-inl.h x: 301 lines of code y: 2 # changes cachelib/allocator/MMLru.h x: 198 lines of code y: 2 # changes cachelib/allocator/MMTinyLFU-inl.h x: 273 lines of code y: 2 # changes cachelib/allocator/MMTinyLFU.h x: 315 lines of code y: 2 # changes cachelib/allocator/datastruct/DList.h x: 137 lines of code y: 1 # changes cachelib/allocator/datastruct/SList.h x: 133 lines of code y: 1 # changes cachelib/compact_cache/allocators/CCacheAllocatorBase.h x: 88 lines of code y: 1 # changes cachelib/allocator/memory/SlabAllocator.h x: 195 lines of code y: 1 # changes cachelib/allocator/CacheStats.h x: 299 lines of code y: 4 # changes cachelib/allocator/CacheStatsInternal.h x: 101 lines of code y: 4 # changes cachelib/cachebench/util/JSONConfig.h x: 102 lines of code y: 2 # changes cachelib/allocator/memory/SlabAllocator.cpp x: 426 lines of code y: 1 # changes website/src/pages/index.js x: 92 lines of code y: 6 # changes cachelib/allocator/TlsActiveItemRing.h x: 56 lines of code y: 1 # changes cachelib/allocator/RebalanceStrategy.cpp x: 218 lines of code y: 2 # changes cachelib/allocator/memory/MemoryPoolManager.cpp x: 259 lines of code y: 1 # changes cachelib/navy/bighash/BigHash.h x: 108 lines of code y: 1 # changes cachelib/navy/driver/Driver.h x: 84 lines of code y: 4 # changes cachelib/rust/build.rs x: 24 lines of code y: 2 # changes cachelib/rust/src/cachelib-oss.cpp x: 9 lines of code y: 2 # changes cachelib/allocator/nvmcache/CacheApiWrapper.h x: 41 lines of code y: 2 # changes cachelib/allocator/CacheChainedItemIterator.h x: 69 lines of code y: 2 # changes cachelib/allocator/ChainedAllocs.h x: 57 lines of code y: 2 # changes cachelib/datatype/Buffer-inl.h x: 182 lines of code y: 2 # changes cachelib/datatype/MapView-inl.h x: 44 lines of code y: 2 # changes cachelib/allocator/ChainedHashTable.h x: 296 lines of code y: 1 # changes cachelib/shm/ShmManager.cpp x: 281 lines of code y: 1 # changes cachelib/allocator/CacheVersion.h x: 17 lines of code y: 2 # changes cachelib/allocator/nvmcache/BlockCacheReinsertionPolicy.h x: 13 lines of code y: 1 # changes cachelib/navy/block_cache/HitsReinsertionPolicy.h x: 27 lines of code y: 4 # changes cachelib/navy/block_cache/PercentageReinsertionPolicy.h x: 25 lines of code y: 3 # changes cachelib/cachebench/runner/CacheStressor.h x: 377 lines of code y: 1 # changes cachelib/navy/bighash/BigHash.cpp x: 383 lines of code y: 1 # changes cachelib/navy/common/Types.cpp x: 35 lines of code y: 1 # changes cachelib/allocator/memory/MemoryAllocator.h x: 204 lines of code y: 1 # changes cachelib/navy/block_cache/HitsReinsertionPolicy.cpp x: 28 lines of code y: 3 # changes cachelib/allocator/MemoryMonitor.h x: 80 lines of code y: 4 # changes cachelib/rust/readonly/readonly.cpp x: 28 lines of code y: 1 # changes cachelib/rust/readonly/readonly.h x: 20 lines of code y: 1 # changes cachelib/rust/readonly/readonly.rs x: 165 lines of code y: 1 # changes cachelib/rust/src/errors.rs x: 49 lines of code y: 1 # changes cachelib/experimental/objcache/Allocator-inl.h x: 178 lines of code y: 1 # changes cachelib/datatype/RangeMap.h x: 168 lines of code y: 2 # changes cachelib/allocator/Refcount.h x: 215 lines of code y: 1 # changes cachelib/allocator/MemoryMonitor.cpp x: 255 lines of code y: 3 # changes cachelib/cachebench/util/NandWrites.cpp x: 262 lines of code y: 1 # changes website/src/pages/learnmore.js x: 88 lines of code y: 3 # changes cachelib/allocator/HitsPerSlabStrategy.cpp x: 130 lines of code y: 1 # changes cachelib/allocator/HitsPerSlabStrategy.h x: 68 lines of code y: 1 # changes cachelib/allocator/LruTailAgeStrategy.cpp x: 106 lines of code y: 1 # changes cachelib/cachebench/runner/Runner.h x: 26 lines of code y: 1 # changes
26.0
# changes
  min: 1.0
  average: 3.03
  25th percentile: 1.0
  median: 2.0
  75th percentile: 3.0
  max: 26.0
0 2576.0
lines of code
min: 9.0 | average: 195.05 | 25th percentile: 72.5 | median: 130.0 | 75th percentile: 247.25 | max: 2576.0

Number of Contributors vs. Number of Changes: 124 points

cachelib/allocator/MM2Q.h x: 3 # contributors y: 3 # changes cachelib/allocator/CacheStats.cpp x: 5 # contributors y: 6 # changes cachelib/allocator/nvmcache/NvmCache-inl.h x: 4 # contributors y: 17 # changes cachelib/allocator/nvmcache/NvmCache.h x: 4 # contributors y: 9 # changes cachelib/allocator/nvmcache/NavyConfig.cpp x: 3 # contributors y: 5 # changes cachelib/allocator/nvmcache/NavyConfig.h x: 3 # contributors y: 9 # changes cachelib/allocator/CacheAllocator-inl.h x: 7 # contributors y: 26 # changes cachelib/allocator/CacheAllocatorConfig.h x: 6 # contributors y: 8 # changes website/docusaurus.config.js x: 5 # contributors y: 14 # changes website/sidebars.js x: 4 # contributors y: 11 # changes cachelib/allocator/CacheItem-inl.h x: 2 # contributors y: 3 # changes cachelib/allocator/CacheItem.h x: 6 # contributors y: 9 # changes cachelib/datatype/Map.h x: 3 # contributors y: 4 # changes cachelib/allocator/Handle.h x: 1 # contributors y: 3 # changes cachelib/persistence/PersistenceManager.cpp x: 1 # contributors y: 1 # changes cachelib/allocator/CacheAllocator.h x: 5 # contributors y: 24 # changes cachelib/benchmarks/CachelibMapOperationBench.cpp x: 1 # contributors y: 2 # changes cachelib/experimental/objcache/ObjectCache.h x: 2 # contributors y: 2 # changes cachelib/allocator/nvmcache/NavySetup.cpp x: 3 # contributors y: 6 # changes cachelib/allocator/CacheStats.h x: 4 # contributors y: 4 # changes website/src/pages/index.js x: 2 # contributors y: 6 # changes cachelib/navy/driver/Driver.h x: 2 # contributors y: 4 # changes cachelib/rust/build.rs x: 3 # contributors y: 2 # changes cachelib/allocator/MemoryMonitor.h x: 1 # contributors y: 4 # changes
26.0
# changes
  min: 1.0
  average: 3.03
  25th percentile: 1.0
  median: 2.0
  75th percentile: 3.0
  max: 26.0
0 7.0
# contributors
min: 1.0 | average: 1.8 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.0