facebook / CacheLib
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 357 files with 45,545 lines of code.
    • 2 very long files (3,637 lines of code)
    • 6 long files (3,632 lines of code)
    • 53 medium size files (16,108 lines of codeclsfd_ftr_w_mp_ins)
    • 81 small files (11,325 lines of code)
    • 215 very small files (10,843 lines of code)
7% | 7% | 35% | 24% | 23%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
h10% | 9% | 27% | 23% | 28%
rs68% | 0% | 0% | 26% | 4%
cpp0% | 6% | 48% | 27% | 17%
cmake0% | 0% | 83% | 0% | 16%
js0% | 0% | 0% | 66% | 33%
thrift0% | 0% | 0% | 36% | 63%
css0% | 0% | 0% | 0% | 100%
plt0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cachelib/allocator14% | 17% | 35% | 14% | 18%
cachelib/rust55% | 0% | 0% | 31% | 12%
cachelib/navy0% | 8% | 31% | 30% | 28%
cachelib/cachebench0% | 0% | 34% | 34% | 31%
cachelib/benchmarks0% | 0% | 40% | 44% | 15%
cachelib/datatype0% | 0% | 52% | 32% | 14%
cachelib/compact_cache0% | 0% | 58% | 20% | 21%
cachelib/shm0% | 0% | 63% | 8% | 27%
cachelib/cmake0% | 0% | 81% | 0% | 18%
cachelib/common0% | 0% | 15% | 34% | 49%
cachelib/experimental0% | 0% | 54% | 44% | 1%
cachelib/persistence0% | 0% | 71% | 0% | 28%
website0% | 0% | 0% | 99% | <1%
website/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
CacheAllocator-inl.h
in cachelib/allocator
2576 88
lrucache.rs
in cachelib/rust/src
1061 34
CacheAllocatorConfig.h
in cachelib/allocator
719 18
CacheAllocator.h
in cachelib/allocator
665 45
NvmCache-inl.h
in cachelib/allocator/nvmcache
595 24
BlockCache.cpp
in cachelib/navy/block_cache
590 22
AllocationClass.cpp
in cachelib/allocator/memory
562 20
ChainedHashTable-inl.h
in cachelib/allocator
501 12
cmake
fb_cxx_flags.cmake
in cachelib/cmake
490 -
CCache-inl.h
in cachelib/compact_cache
465 18
SlabAllocator.cpp
in cachelib/allocator/memory
426 16
RangeMap-inl.h
in cachelib/datatype
414 24
PieceWiseCache.cpp
in cachelib/cachebench/workload
413 21
ObjectCache.h
in cachelib/experimental/objcache
405 25
RegionManager.cpp
in cachelib/navy/block_cache
402 26
CacheItem-inl.h
in cachelib/allocator
391 51
MemoryPool.cpp
in cachelib/allocator/memory
389 16
BigHash.cpp
in cachelib/navy/bighash
383 15
Map-inl.h
in cachelib/datatype
381 18
CacheStressor.h
in cachelib/cachebench/runner
377 15
CCacheVariableLruBucket.h
in cachelib/compact_cache
367 19
Handle.h
in cachelib/allocator
358 32
Driver.cpp
in cachelib/navy/driver
354 19
MutexBench.cpp
in cachelib/benchmarks
351 18
MM2Q-inl.h
in cachelib/allocator
345 18
317 16
Utils.cpp
in cachelib/common
316 21
MMTinyLFU.h
in cachelib/allocator
315 22
Factory.cpp
in cachelib/navy
314 36
IntegrationStressor.cpp
in cachelib/cachebench/runner
303 11
Buffer.h
in cachelib/datatype
302 28
MMLru-inl.h
in cachelib/allocator
301 15
Device.cpp
in cachelib/navy/common
301 21
CacheStats.h
in cachelib/allocator
299 13
ChainedHashTable.h
in cachelib/allocator
296 22
PersistenceManager.cpp
in cachelib/persistence
291 12
MM2Q.h
in cachelib/allocator
287 20
NavyConfig.h
in cachelib/allocator/nvmcache
283 44
ShmManager.cpp
in cachelib/shm
281 15
PosixShmSegment.cpp
in cachelib/shm
274 15
MMTinyLFU-inl.h
in cachelib/allocator
273 14
cmake
FindSodium.cmake
in cachelib/cmake
263 -
NandWrites.cpp
in cachelib/cachebench/util
262 17
SysVShmSegment.cpp
in cachelib/shm
261 14
MemoryPoolManager.cpp
in cachelib/allocator/memory
259 10
BucketMutexBench.cpp
in cachelib/benchmarks
258 11
MemoryMonitor.cpp
in cachelib/allocator
255 13
CacheStats.cpp
in cachelib/allocator
254 15
CacheAllocatorOpsMicroBench.cpp
in cachelib/benchmarks
243 5
Mutex.h
in cachelib/common
238 20
Files With Most Units (Top 50)
File# lines# units
CacheAllocator-inl.h
in cachelib/allocator
2576 88
CacheItem-inl.h
in cachelib/allocator
391 51
CacheAllocator.h
in cachelib/allocator
665 45
NavyConfig.h
in cachelib/allocator/nvmcache
283 44
Factory.cpp
in cachelib/navy
314 36
lrucache.rs
in cachelib/rust/src
1061 34
Refcount.h
in cachelib/allocator
215 34
Handle.h
in cachelib/allocator
358 32
FixedSizeArray.h
in cachelib/datatype
194 31
Buffer.h
in cachelib/datatype
302 28
MemoryAllocator.h
in cachelib/allocator/memory
204 26
RegionManager.cpp
in cachelib/navy/block_cache
402 26
ObjectCache.h
in cachelib/experimental/objcache
405 25
cachelib.cpp
in cachelib/rust/src
189 24
RangeMap-inl.h
in cachelib/datatype
414 24
GenericPieces.h
in cachelib/common/piecewise
113 24
NvmCache-inl.h
in cachelib/allocator/nvmcache
595 24
ChainedHashTable.h
in cachelib/allocator
296 22
MMTinyLFU.h
in cachelib/allocator
315 22
BlockCache.cpp
in cachelib/navy/block_cache
590 22
Region.h
in cachelib/navy/block_cache
184 22
Buffer.h
in cachelib/navy/common
142 22
PieceWiseCache.cpp
in cachelib/cachebench/workload
413 21
Utils.cpp
in cachelib/common
316 21
ApproxSplitSet.h
in cachelib/common
181 21
MMTypeBench.h
in cachelib/benchmarks
170 21
Device.cpp
in cachelib/navy/common
301 21
Mutex.h
in cachelib/common
238 20
MM2Q.h
in cachelib/allocator
287 20
AllocationClass.cpp
in cachelib/allocator/memory
562 20
IntegrationStressor.h
in cachelib/cachebench/runner
127 19
CCacheVariableLruBucket.h
in cachelib/compact_cache
367 19
Driver.cpp
in cachelib/navy/driver
354 19
Map-inl.h
in cachelib/datatype
381 18
AtomicCounter.h
in cachelib/common
54 18
MutexBench.cpp
in cachelib/benchmarks
351 18
CacheAllocatorConfig.h
in cachelib/allocator
719 18
Slab.h
in cachelib/allocator/memory
163 18
DList.h
in cachelib/allocator/datastruct
137 18
MM2Q-inl.h
in cachelib/allocator
345 18
CCache-inl.h
in cachelib/compact_cache
465 18
ThreadPoolJobScheduler.cpp
in cachelib/navy/scheduler
229 18
NandWrites.cpp
in cachelib/cachebench/util
262 17
317 16
MemoryPool.cpp
in cachelib/allocator/memory
389 16
SlabAllocator.cpp
in cachelib/allocator/memory
426 16
NvmCacheState.cpp
in cachelib/allocator
143 16
NvmCache.h
in cachelib/allocator/nvmcache
204 16
RecordIO.cpp
in cachelib/navy/serialization
205 16
FifoPolicy.cpp
in cachelib/navy/block_cache
151 16
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 3 long lines.

File# lines# units# long lines
164 3 1
index.js
in website/src/pages
92 1 1
cmake
FindGlog.cmake
in cachelib/cmake
25 - 1
Correlations

File Size vs. Commits (all time): 124 points

cachelib/allocator/MM2Q.h x: 3 commits (all time) y: 287 lines of code cachelib/allocator/CacheStats.cpp x: 7 commits (all time) y: 254 lines of code cachelib/allocator/nvmcache/NvmCache-inl.h x: 20 commits (all time) y: 595 lines of code cachelib/allocator/nvmcache/NvmCache.h x: 12 commits (all time) y: 204 lines of code cachelib/allocator/nvmcache/NavyConfig.cpp x: 6 commits (all time) y: 175 lines of code cachelib/allocator/nvmcache/NavyConfig.h x: 11 commits (all time) y: 283 lines of code cachelib/allocator/CacheAllocator-inl.h x: 33 commits (all time) y: 2576 lines of code cachelib/allocator/CacheAllocatorConfig.h x: 9 commits (all time) y: 719 lines of code website/docusaurus.config.js x: 21 commits (all time) y: 164 lines of code website/sidebars.js x: 12 commits (all time) y: 194 lines of code cachelib/allocator/CacheItem-inl.h x: 3 commits (all time) y: 391 lines of code cachelib/allocator/CacheItem.h x: 10 commits (all time) y: 214 lines of code cachelib/datatype/Map.h x: 5 commits (all time) y: 137 lines of code cachelib/allocator/Handle.h x: 4 commits (all time) y: 358 lines of code cachelib/persistence/PersistenceManager.cpp x: 1 commits (all time) y: 291 lines of code cachelib/allocator/CacheAllocator.h x: 28 commits (all time) y: 665 lines of code cachelib/allocator/CacheAllocatorFindApiWrapper.h x: 2 commits (all time) y: 17 lines of code cachelib/benchmarks/CachelibMapOperationBench.cpp x: 2 commits (all time) y: 162 lines of code cachelib/benchmarks/CachelibMapWorkloadBench.cpp x: 3 commits (all time) y: 167 lines of code cachelib/experimental/objcache/ObjectCache.h x: 2 commits (all time) y: 405 lines of code cachelib/rust/src/abomonation_cache.rs x: 2 commits (all time) y: 118 lines of code cachelib/rust/src/cachelib.cpp x: 4 commits (all time) y: 189 lines of code cachelib/rust/src/cachelib.h x: 2 commits (all time) y: 95 lines of code cachelib/rust/src/lib.rs x: 2 commits (all time) y: 132 lines of code cachelib/rust/src/lrucache.rs x: 2 commits (all time) y: 1061 lines of code website/src/css/custom.css x: 4 commits (all time) y: 53 lines of code cachelib/common/FurcHash.cpp x: 1 commits (all time) y: 121 lines of code cachelib/common/MurmurHash.h x: 1 commits (all time) y: 39 lines of code cachelib/benchmarks/StrictAliasingSafeReadBench.cpp x: 1 commits (all time) y: 72 lines of code cachelib/common/Utils.h x: 1 commits (all time) y: 122 lines of code cachelib/cachebench/consistency/ValueHistory.cpp x: 1 commits (all time) y: 227 lines of code cachelib/allocator/nvmcache/NavySetup.cpp x: 7 commits (all time) y: 212 lines of code cachelib/navy/Factory.cpp x: 9 commits (all time) y: 314 lines of code cachelib/navy/Factory.h x: 5 commits (all time) y: 77 lines of code cachelib/navy/block_cache/BlockCache.cpp x: 12 commits (all time) y: 590 lines of code cachelib/navy/block_cache/BlockCache.h x: 10 commits (all time) y: 181 lines of code cachelib/persistence/PersistenceManager.h x: 1 commits (all time) y: 93 lines of code cachelib/navy/block_cache/Allocator.cpp x: 2 commits (all time) y: 91 lines of code cachelib/navy/block_cache/Allocator.h x: 1 commits (all time) y: 53 lines of code cachelib/navy/block_cache/Region.cpp x: 3 commits (all time) y: 121 lines of code cachelib/navy/block_cache/Region.h x: 3 commits (all time) y: 184 lines of code cachelib/navy/block_cache/RegionManager.cpp x: 6 commits (all time) y: 402 lines of code cachelib/navy/block_cache/RegionManager.h x: 5 commits (all time) y: 130 lines of code cachelib/navy/serialization/objects.thrift x: 1 commits (all time) y: 65 lines of code cachelib/navy/serialization/RecordIO.cpp x: 1 commits (all time) y: 205 lines of code cachelib/allocator/ChainedHashTable-inl.h x: 1 commits (all time) y: 501 lines of code cachelib/allocator/MM2Q-inl.h x: 2 commits (all time) y: 345 lines of code cachelib/allocator/MMLru-inl.h x: 2 commits (all time) y: 301 lines of code cachelib/allocator/MMLru.h x: 2 commits (all time) y: 198 lines of code cachelib/allocator/MMTinyLFU-inl.h x: 2 commits (all time) y: 273 lines of code cachelib/allocator/MMTinyLFU.h x: 2 commits (all time) y: 315 lines of code cachelib/allocator/datastruct/DList.h x: 1 commits (all time) y: 137 lines of code cachelib/compact_cache/allocators/CCacheAllocatorBase.h x: 1 commits (all time) y: 88 lines of code cachelib/allocator/memory/SlabAllocator.h x: 1 commits (all time) y: 195 lines of code cachelib/allocator/CacheStats.h x: 5 commits (all time) y: 299 lines of code cachelib/allocator/CacheStatsInternal.h x: 4 commits (all time) y: 101 lines of code cachelib/cachebench/util/JSONConfig.h x: 2 commits (all time) y: 102 lines of code cachelib/allocator/memory/SlabAllocator.cpp x: 1 commits (all time) y: 426 lines of code website/src/pages/index.js x: 8 commits (all time) y: 92 lines of code cachelib/allocator/RebalanceStrategy.cpp x: 2 commits (all time) y: 218 lines of code cachelib/allocator/memory/MemoryPoolManager.cpp x: 1 commits (all time) y: 259 lines of code cachelib/navy/bighash/BigHash.h x: 1 commits (all time) y: 108 lines of code cachelib/navy/driver/Driver.h x: 4 commits (all time) y: 84 lines of code cachelib/rust/build.rs x: 3 commits (all time) y: 24 lines of code cachelib/rust/src/cachelib-oss.cpp x: 3 commits (all time) y: 9 lines of code cachelib/allocator/nvmcache/CacheApiWrapper.h x: 2 commits (all time) y: 41 lines of code cachelib/allocator/CacheChainedItemIterator.h x: 2 commits (all time) y: 69 lines of code cachelib/allocator/ChainedAllocs.h x: 2 commits (all time) y: 57 lines of code cachelib/datatype/Buffer-inl.h x: 2 commits (all time) y: 182 lines of code cachelib/navy/AbstractCache.h x: 2 commits (all time) y: 40 lines of code cachelib/navy/driver/Driver.cpp x: 3 commits (all time) y: 354 lines of code cachelib/allocator/ChainedHashTable.h x: 1 commits (all time) y: 296 lines of code cachelib/shm/ShmManager.cpp x: 1 commits (all time) y: 281 lines of code cachelib/allocator/nvmcache/BlockCacheReinsertionPolicy.h x: 1 commits (all time) y: 13 lines of code cachelib/navy/block_cache/HitsReinsertionPolicy.h x: 4 commits (all time) y: 27 lines of code cachelib/cachebench/runner/CacheStressor.h x: 1 commits (all time) y: 377 lines of code cachelib/allocator/MemoryMonitor.h x: 4 commits (all time) y: 80 lines of code cachelib/allocator/TypedHandle.h x: 3 commits (all time) y: 94 lines of code cachelib/rust/readonly/readonly.cpp x: 1 commits (all time) y: 28 lines of code cachelib/rust/readonly/readonly.rs x: 1 commits (all time) y: 165 lines of code cachelib/rust/src/errors.rs x: 1 commits (all time) y: 49 lines of code cachelib/experimental/objcache/Allocator-inl.h x: 1 commits (all time) y: 178 lines of code cachelib/allocator/Refcount.h x: 1 commits (all time) y: 215 lines of code cachelib/allocator/MemoryMonitor.cpp x: 3 commits (all time) y: 255 lines of code website/src/pages/learnmore.js x: 3 commits (all time) y: 88 lines of code
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
0 33.0
commits (all time)
min: 1.0 | average: 3.43 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 33.0

File Size vs. Contributors (all time): 124 points

cachelib/allocator/MM2Q.h x: 3 contributors (all time) y: 287 lines of code cachelib/allocator/CacheStats.cpp x: 5 contributors (all time) y: 254 lines of code cachelib/allocator/nvmcache/NvmCache-inl.h x: 4 contributors (all time) y: 595 lines of code cachelib/allocator/nvmcache/NvmCache.h x: 4 contributors (all time) y: 204 lines of code cachelib/allocator/nvmcache/NavyConfig.cpp x: 3 contributors (all time) y: 175 lines of code cachelib/allocator/nvmcache/NavyConfig.h x: 3 contributors (all time) y: 283 lines of code cachelib/allocator/CacheAllocator-inl.h x: 7 contributors (all time) y: 2576 lines of code cachelib/allocator/CacheAllocatorConfig.h x: 6 contributors (all time) y: 719 lines of code website/docusaurus.config.js x: 5 contributors (all time) y: 164 lines of code website/sidebars.js x: 4 contributors (all time) y: 194 lines of code cachelib/allocator/CacheItem-inl.h x: 2 contributors (all time) y: 391 lines of code cachelib/allocator/CacheItem.h x: 6 contributors (all time) y: 214 lines of code cachelib/datatype/Map.h x: 3 contributors (all time) y: 137 lines of code cachelib/allocator/Handle.h x: 1 contributors (all time) y: 358 lines of code cachelib/persistence/PersistenceManager.cpp x: 1 contributors (all time) y: 291 lines of code cachelib/allocator/CacheAllocator.h x: 5 contributors (all time) y: 665 lines of code cachelib/allocator/CacheAllocatorFindApiWrapper.h x: 1 contributors (all time) y: 17 lines of code cachelib/benchmarks/CachelibMapOperationBench.cpp x: 1 contributors (all time) y: 162 lines of code cachelib/benchmarks/CachelibMapWorkloadBench.cpp x: 1 contributors (all time) y: 167 lines of code cachelib/experimental/objcache/ObjectCache.h x: 2 contributors (all time) y: 405 lines of code cachelib/rust/src/abomonation_cache.rs x: 1 contributors (all time) y: 118 lines of code cachelib/rust/src/cachelib.cpp x: 3 contributors (all time) y: 189 lines of code cachelib/rust/src/cachelib.h x: 1 contributors (all time) y: 95 lines of code cachelib/rust/src/lib.rs x: 1 contributors (all time) y: 132 lines of code cachelib/rust/src/lrucache.rs x: 1 contributors (all time) y: 1061 lines of code website/src/css/custom.css x: 3 contributors (all time) y: 53 lines of code cachelib/common/MurmurHash.h x: 1 contributors (all time) y: 39 lines of code cachelib/benchmarks/StrictAliasingSafeReadBench.cpp x: 1 contributors (all time) y: 72 lines of code cachelib/common/Utils.h x: 1 contributors (all time) y: 122 lines of code cachelib/cachebench/consistency/ValueHistory.cpp x: 1 contributors (all time) y: 227 lines of code cachelib/allocator/nvmcache/NavySetup.cpp x: 3 contributors (all time) y: 212 lines of code cachelib/navy/Factory.cpp x: 4 contributors (all time) y: 314 lines of code cachelib/navy/Factory.h x: 3 contributors (all time) y: 77 lines of code cachelib/navy/block_cache/Allocator.cpp x: 1 contributors (all time) y: 91 lines of code cachelib/navy/block_cache/Allocator.h x: 1 contributors (all time) y: 53 lines of code cachelib/navy/block_cache/Region.cpp x: 3 contributors (all time) y: 121 lines of code cachelib/navy/block_cache/RegionManager.cpp x: 3 contributors (all time) y: 402 lines of code cachelib/navy/block_cache/RegionManager.h x: 3 contributors (all time) y: 130 lines of code cachelib/navy/serialization/objects.thrift x: 1 contributors (all time) y: 65 lines of code cachelib/cachebench/util/CacheConfig.h x: 2 contributors (all time) y: 94 lines of code cachelib/navy/scheduler/ThreadPoolJobQueue.cpp x: 2 contributors (all time) y: 137 lines of code cachelib/navy/serialization/RecordIO.cpp x: 1 contributors (all time) y: 205 lines of code cachelib/allocator/ChainedHashTable-inl.h x: 1 contributors (all time) y: 501 lines of code cachelib/allocator/MM2Q-inl.h x: 2 contributors (all time) y: 345 lines of code cachelib/allocator/MMLru-inl.h x: 2 contributors (all time) y: 301 lines of code cachelib/allocator/MMLru.h x: 2 contributors (all time) y: 198 lines of code cachelib/allocator/MMTinyLFU-inl.h x: 2 contributors (all time) y: 273 lines of code cachelib/allocator/MMTinyLFU.h x: 2 contributors (all time) y: 315 lines of code cachelib/allocator/memory/SlabAllocator.h x: 1 contributors (all time) y: 195 lines of code cachelib/allocator/CacheStats.h x: 4 contributors (all time) y: 299 lines of code cachelib/allocator/CacheStatsInternal.h x: 3 contributors (all time) y: 101 lines of code cachelib/cachebench/util/JSONConfig.h x: 1 contributors (all time) y: 102 lines of code cachelib/allocator/memory/SlabAllocator.cpp x: 1 contributors (all time) y: 426 lines of code cachelib/allocator/RebalanceStrategy.cpp x: 2 contributors (all time) y: 218 lines of code cachelib/allocator/memory/MemoryPoolManager.cpp x: 1 contributors (all time) y: 259 lines of code cachelib/navy/driver/Driver.h x: 2 contributors (all time) y: 84 lines of code cachelib/rust/build.rs x: 3 contributors (all time) y: 24 lines of code cachelib/rust/src/cachelib-oss.cpp x: 3 contributors (all time) y: 9 lines of code cachelib/allocator/nvmcache/CacheApiWrapper.h x: 2 contributors (all time) y: 41 lines of code cachelib/allocator/CacheChainedItemIterator.h x: 2 contributors (all time) y: 69 lines of code cachelib/datatype/Buffer-inl.h x: 1 contributors (all time) y: 182 lines of code cachelib/datatype/Buffer.h x: 1 contributors (all time) y: 302 lines of code cachelib/datatype/MapView-inl.h x: 1 contributors (all time) y: 44 lines of code cachelib/navy/AbstractCache.h x: 2 contributors (all time) y: 40 lines of code cachelib/shm/ShmManager.cpp x: 1 contributors (all time) y: 281 lines of code cachelib/navy/block_cache/HitsReinsertionPolicy.h x: 2 contributors (all time) y: 27 lines of code cachelib/navy/block_cache/PercentageReinsertionPolicy.h x: 1 contributors (all time) y: 25 lines of code cachelib/cachebench/runner/CacheStressor.h x: 1 contributors (all time) y: 377 lines of code cachelib/rust/Cargo.toml x: 2 contributors (all time) y: 18 lines of code cachelib/allocator/Refcount.h x: 1 contributors (all time) y: 215 lines of code
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
0 7.0
contributors (all time)
min: 1.0 | average: 1.8 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.0

File Size vs. Commits (30 days): 31 points

cachelib/allocator/MM2Q.h x: 1 commits (30d) y: 287 lines of code cachelib/allocator/CacheStats.cpp x: 1 commits (30d) y: 254 lines of code cachelib/allocator/nvmcache/NvmCache-inl.h x: 2 commits (30d) y: 595 lines of code cachelib/allocator/nvmcache/NvmCache.h x: 2 commits (30d) y: 204 lines of code cachelib/allocator/nvmcache/NavyConfig.cpp x: 1 commits (30d) y: 175 lines of code cachelib/allocator/nvmcache/NavyConfig.h x: 1 commits (30d) y: 283 lines of code cachelib/allocator/CacheAllocator-inl.h x: 5 commits (30d) y: 2576 lines of code cachelib/allocator/CacheAllocatorConfig.h x: 1 commits (30d) y: 719 lines of code website/docusaurus.config.js x: 7 commits (30d) y: 164 lines of code website/sidebars.js x: 5 commits (30d) y: 194 lines of code cachelib/allocator/CacheItem-inl.h x: 1 commits (30d) y: 391 lines of code cachelib/allocator/CacheItem.h x: 1 commits (30d) y: 214 lines of code cachelib/datatype/Map.h x: 2 commits (30d) y: 137 lines of code cachelib/allocator/Handle.h x: 1 commits (30d) y: 358 lines of code cachelib/allocator/CacheAllocator.h x: 3 commits (30d) y: 665 lines of code cachelib/allocator/CacheAllocatorFindApiWrapper.h x: 2 commits (30d) y: 17 lines of code cachelib/benchmarks/CachelibMapOperationBench.cpp x: 1 commits (30d) y: 162 lines of code cachelib/benchmarks/CachelibMapWorkloadBench.cpp x: 1 commits (30d) y: 167 lines of code cachelib/experimental/objcache/ObjectCache.h x: 1 commits (30d) y: 405 lines of code cachelib/rust/src/abomonation_cache.rs x: 1 commits (30d) y: 118 lines of code cachelib/rust/src/cachelib.cpp x: 1 commits (30d) y: 189 lines of code cachelib/rust/src/cachelib.h x: 1 commits (30d) y: 95 lines of code cachelib/rust/src/lib.rs x: 1 commits (30d) y: 132 lines of code cachelib/rust/src/lrucache.rs x: 1 commits (30d) y: 1061 lines of code website/src/css/custom.css x: 1 commits (30d) y: 53 lines of code cachelib/common/MurmurHash.h x: 1 commits (30d) y: 39 lines of code cachelib/benchmarks/StrictAliasingSafeReadBench.cpp x: 1 commits (30d) y: 72 lines of code cachelib/common/Utils.h x: 1 commits (30d) y: 122 lines of code
2576.0
lines of code
  min: 17.0
  average: 336.29
  25th percentile: 122.0
  median: 189.0
  75th percentile: 358.0
  max: 2576.0
0 7.0
commits (30d)
min: 1.0 | average: 1.65 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.0

File Size vs. Contributors (30 days): 31 points

cachelib/allocator/MM2Q.h x: 1 contributors (30d) y: 287 lines of code cachelib/allocator/CacheStats.cpp x: 1 contributors (30d) y: 254 lines of code cachelib/allocator/nvmcache/NvmCache-inl.h x: 2 contributors (30d) y: 595 lines of code cachelib/allocator/nvmcache/NvmCache.h x: 2 contributors (30d) y: 204 lines of code cachelib/allocator/nvmcache/NavyConfig.cpp x: 1 contributors (30d) y: 175 lines of code cachelib/allocator/nvmcache/NavyConfig.h x: 1 contributors (30d) y: 283 lines of code cachelib/allocator/CacheAllocator-inl.h x: 3 contributors (30d) y: 2576 lines of code cachelib/allocator/CacheAllocatorConfig.h x: 1 contributors (30d) y: 719 lines of code website/docusaurus.config.js x: 3 contributors (30d) y: 164 lines of code website/sidebars.js x: 2 contributors (30d) y: 194 lines of code cachelib/allocator/CacheItem-inl.h x: 1 contributors (30d) y: 391 lines of code cachelib/allocator/CacheItem.h x: 1 contributors (30d) y: 214 lines of code cachelib/datatype/Map.h x: 2 contributors (30d) y: 137 lines of code cachelib/allocator/Handle.h x: 1 contributors (30d) y: 358 lines of code cachelib/allocator/CacheAllocator.h x: 1 contributors (30d) y: 665 lines of code cachelib/allocator/CacheAllocatorFindApiWrapper.h x: 1 contributors (30d) y: 17 lines of code cachelib/benchmarks/CachelibMapOperationBench.cpp x: 1 contributors (30d) y: 162 lines of code cachelib/benchmarks/CachelibMapWorkloadBench.cpp x: 1 contributors (30d) y: 167 lines of code cachelib/experimental/objcache/ObjectCache.h x: 1 contributors (30d) y: 405 lines of code cachelib/rust/src/abomonation_cache.rs x: 1 contributors (30d) y: 118 lines of code cachelib/rust/src/cachelib.cpp x: 1 contributors (30d) y: 189 lines of code cachelib/rust/src/cachelib.h x: 1 contributors (30d) y: 95 lines of code cachelib/rust/src/lib.rs x: 1 contributors (30d) y: 132 lines of code cachelib/rust/src/lrucache.rs x: 1 contributors (30d) y: 1061 lines of code website/src/css/custom.css x: 1 contributors (30d) y: 53 lines of code cachelib/common/MurmurHash.h x: 1 contributors (30d) y: 39 lines of code cachelib/benchmarks/StrictAliasingSafeReadBench.cpp x: 1 contributors (30d) y: 72 lines of code cachelib/common/Utils.h x: 1 contributors (30d) y: 122 lines of code
2576.0
lines of code
  min: 17.0
  average: 336.29
  25th percentile: 122.0
  median: 189.0
  75th percentile: 358.0
  max: 2576.0
0 3.0
contributors (30d)
min: 1.0 | average: 1.26 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0

File Size vs. Commits (90 days): 74 points

cachelib/allocator/MM2Q.h x: 2 commits (90d) y: 287 lines of code cachelib/allocator/CacheStats.cpp x: 3 commits (90d) y: 254 lines of code cachelib/allocator/nvmcache/NvmCache-inl.h x: 7 commits (90d) y: 595 lines of code cachelib/allocator/nvmcache/NvmCache.h x: 2 commits (90d) y: 204 lines of code cachelib/allocator/nvmcache/NavyConfig.cpp x: 3 commits (90d) y: 175 lines of code cachelib/allocator/nvmcache/NavyConfig.h x: 5 commits (90d) y: 283 lines of code cachelib/allocator/CacheAllocator-inl.h x: 10 commits (90d) y: 2576 lines of code cachelib/allocator/CacheAllocatorConfig.h x: 1 commits (90d) y: 719 lines of code website/docusaurus.config.js x: 11 commits (90d) y: 164 lines of code website/sidebars.js x: 8 commits (90d) y: 194 lines of code cachelib/allocator/CacheItem-inl.h x: 1 commits (90d) y: 391 lines of code cachelib/allocator/CacheItem.h x: 2 commits (90d) y: 214 lines of code cachelib/datatype/Map.h x: 2 commits (90d) y: 137 lines of code cachelib/allocator/Handle.h x: 1 commits (90d) y: 358 lines of code cachelib/persistence/PersistenceManager.cpp x: 1 commits (90d) y: 291 lines of code cachelib/allocator/CacheAllocator.h x: 5 commits (90d) y: 665 lines of code cachelib/allocator/CacheAllocatorFindApiWrapper.h x: 2 commits (90d) y: 17 lines of code cachelib/benchmarks/CachelibMapOperationBench.cpp x: 1 commits (90d) y: 162 lines of code cachelib/benchmarks/CachelibMapWorkloadBench.cpp x: 1 commits (90d) y: 167 lines of code cachelib/experimental/objcache/ObjectCache.h x: 2 commits (90d) y: 405 lines of code cachelib/rust/src/abomonation_cache.rs x: 1 commits (90d) y: 118 lines of code cachelib/rust/src/cachelib.cpp x: 1 commits (90d) y: 189 lines of code cachelib/rust/src/cachelib.h x: 1 commits (90d) y: 95 lines of code cachelib/rust/src/lib.rs x: 1 commits (90d) y: 132 lines of code cachelib/rust/src/lrucache.rs x: 1 commits (90d) y: 1061 lines of code website/src/css/custom.css x: 1 commits (90d) y: 53 lines of code cachelib/common/MurmurHash.h x: 1 commits (90d) y: 39 lines of code cachelib/benchmarks/StrictAliasingSafeReadBench.cpp x: 1 commits (90d) y: 72 lines of code cachelib/common/Utils.h x: 1 commits (90d) y: 122 lines of code cachelib/cachebench/consistency/ValueHistory.cpp x: 1 commits (90d) y: 227 lines of code cachelib/navy/Factory.cpp x: 4 commits (90d) y: 314 lines of code cachelib/navy/Factory.h x: 2 commits (90d) y: 77 lines of code cachelib/navy/block_cache/BlockCache.cpp x: 4 commits (90d) y: 590 lines of code cachelib/navy/block_cache/BlockCache.h x: 4 commits (90d) y: 181 lines of code cachelib/navy/block_cache/Allocator.cpp x: 2 commits (90d) y: 91 lines of code cachelib/navy/block_cache/RegionManager.cpp x: 3 commits (90d) y: 402 lines of code cachelib/navy/block_cache/RegionManager.h x: 3 commits (90d) y: 130 lines of code cachelib/navy/serialization/objects.thrift x: 1 commits (90d) y: 65 lines of code cachelib/navy/serialization/RecordIO.cpp x: 1 commits (90d) y: 205 lines of code cachelib/allocator/ChainedHashTable-inl.h x: 1 commits (90d) y: 501 lines of code cachelib/allocator/MM2Q-inl.h x: 1 commits (90d) y: 345 lines of code cachelib/allocator/MMLru-inl.h x: 1 commits (90d) y: 301 lines of code cachelib/allocator/MMLru.h x: 1 commits (90d) y: 198 lines of code cachelib/allocator/MMTinyLFU-inl.h x: 1 commits (90d) y: 273 lines of code cachelib/allocator/MMTinyLFU.h x: 1 commits (90d) y: 315 lines of code cachelib/compact_cache/allocators/CCacheAllocatorBase.h x: 1 commits (90d) y: 88 lines of code cachelib/cachebench/util/JSONConfig.h x: 2 commits (90d) y: 102 lines of code cachelib/allocator/memory/SlabAllocator.cpp x: 1 commits (90d) y: 426 lines of code cachelib/allocator/RebalanceStrategy.cpp x: 1 commits (90d) y: 218 lines of code cachelib/shm/ShmCommon.h x: 2 commits (90d) y: 95 lines of code cachelib/allocator/memory/MemoryPoolManager.cpp x: 1 commits (90d) y: 259 lines of code cachelib/navy/bighash/BigHash.h x: 1 commits (90d) y: 108 lines of code
2576.0
lines of code
  min: 17.0
  average: 249.78
  25th percentile: 99.5
  median: 166.0
  75th percentile: 288.0
  max: 2576.0
0 11.0
commits (90d)
min: 1.0 | average: 1.93 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 11.0

File Size vs. Contributors (90 days): 74 points

cachelib/allocator/MM2Q.h x: 2 contributors (90d) y: 287 lines of code cachelib/allocator/CacheStats.cpp x: 2 contributors (90d) y: 254 lines of code cachelib/allocator/nvmcache/NvmCache-inl.h x: 3 contributors (90d) y: 595 lines of code cachelib/allocator/nvmcache/NvmCache.h x: 2 contributors (90d) y: 204 lines of code cachelib/allocator/nvmcache/NavyConfig.cpp x: 2 contributors (90d) y: 175 lines of code cachelib/allocator/nvmcache/NavyConfig.h x: 3 contributors (90d) y: 283 lines of code cachelib/allocator/CacheAllocator-inl.h x: 6 contributors (90d) y: 2576 lines of code cachelib/allocator/CacheAllocatorConfig.h x: 1 contributors (90d) y: 719 lines of code website/docusaurus.config.js x: 3 contributors (90d) y: 164 lines of code website/sidebars.js x: 2 contributors (90d) y: 194 lines of code cachelib/allocator/CacheItem-inl.h x: 1 contributors (90d) y: 391 lines of code cachelib/allocator/CacheItem.h x: 2 contributors (90d) y: 214 lines of code cachelib/datatype/Map.h x: 2 contributors (90d) y: 137 lines of code cachelib/allocator/Handle.h x: 1 contributors (90d) y: 358 lines of code cachelib/persistence/PersistenceManager.cpp x: 1 contributors (90d) y: 291 lines of code cachelib/allocator/CacheAllocator.h x: 1 contributors (90d) y: 665 lines of code cachelib/allocator/CacheAllocatorFindApiWrapper.h x: 1 contributors (90d) y: 17 lines of code cachelib/benchmarks/CachelibMapOperationBench.cpp x: 1 contributors (90d) y: 162 lines of code cachelib/benchmarks/CachelibMapWorkloadBench.cpp x: 1 contributors (90d) y: 167 lines of code cachelib/experimental/objcache/ObjectCache.h x: 2 contributors (90d) y: 405 lines of code cachelib/rust/src/abomonation_cache.rs x: 1 contributors (90d) y: 118 lines of code cachelib/rust/src/cachelib.cpp x: 1 contributors (90d) y: 189 lines of code cachelib/rust/src/cachelib.h x: 1 contributors (90d) y: 95 lines of code cachelib/rust/src/lib.rs x: 1 contributors (90d) y: 132 lines of code cachelib/rust/src/lrucache.rs x: 1 contributors (90d) y: 1061 lines of code website/src/css/custom.css x: 1 contributors (90d) y: 53 lines of code cachelib/common/MurmurHash.h x: 1 contributors (90d) y: 39 lines of code cachelib/benchmarks/StrictAliasingSafeReadBench.cpp x: 1 contributors (90d) y: 72 lines of code cachelib/common/Utils.h x: 1 contributors (90d) y: 122 lines of code cachelib/cachebench/consistency/ValueHistory.cpp x: 1 contributors (90d) y: 227 lines of code cachelib/navy/Factory.cpp x: 3 contributors (90d) y: 314 lines of code cachelib/navy/Factory.h x: 2 contributors (90d) y: 77 lines of code cachelib/navy/block_cache/Allocator.cpp x: 1 contributors (90d) y: 91 lines of code cachelib/navy/block_cache/RegionManager.cpp x: 1 contributors (90d) y: 402 lines of code cachelib/navy/serialization/objects.thrift x: 1 contributors (90d) y: 65 lines of code cachelib/navy/serialization/RecordIO.cpp x: 1 contributors (90d) y: 205 lines of code cachelib/allocator/ChainedHashTable-inl.h x: 1 contributors (90d) y: 501 lines of code cachelib/allocator/MM2Q-inl.h x: 1 contributors (90d) y: 345 lines of code cachelib/allocator/MMLru-inl.h x: 1 contributors (90d) y: 301 lines of code cachelib/allocator/MMLru.h x: 1 contributors (90d) y: 198 lines of code cachelib/allocator/MMTinyLFU-inl.h x: 1 contributors (90d) y: 273 lines of code cachelib/allocator/MMTinyLFU.h x: 1 contributors (90d) y: 315 lines of code cachelib/cachebench/util/JSONConfig.h x: 1 contributors (90d) y: 102 lines of code cachelib/allocator/memory/SlabAllocator.cpp x: 1 contributors (90d) y: 426 lines of code cachelib/allocator/RebalanceStrategy.cpp x: 1 contributors (90d) y: 218 lines of code cachelib/shm/ShmCommon.h x: 2 contributors (90d) y: 95 lines of code cachelib/allocator/memory/MemoryPoolManager.cpp x: 1 contributors (90d) y: 259 lines of code
2576.0
lines of code
  min: 17.0
  average: 249.78
  25th percentile: 99.5
  median: 166.0
  75th percentile: 288.0
  max: 2576.0
0 6.0
contributors (90d)
min: 1.0 | average: 1.38 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 6.0