facebook / CacheLib
File Age

File age measurements show the distribution of file ages (days since the first commit) and the recency of file updates (days since the latest commit).

Summary
  • Number of files: 357
  • Daily file updates (only one update per file and date counted): 316
  • First update: 2021-08-13
  • Latest update: 2022-04-01
  • Days between first and latest update: 232 (33 weeks, estimated 165 working days)
  • Active days (at least one file change): 221
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 124 files with 24,186 lines of code in files.
    • 0 files that are 366+ days old (0 lines of code)
    • 55 files that are 181-365 days old (12,761 lines of code)
    • 42 files that are 91-180 days old (7,162 lines of code)
    • 27 files that are 31-90 days old (4,263 lines of code)
    • 0 files that are 1-30 days old (0 lines of code)
0% | 52% | 29% | 17% | 0%
Legend:
366+
181-365
91-180
31-90
1-30

explore: zoomable circles
Latest Change Distribution Overall
Days since last update
  • There are 124 files with 24,186 lines of code in files.
    • 0 files have been last changed 366+ days ago (0 lines of code)
    • 15 files have been last changed 181-365 days ago (1,848 lines of code)
    • 38 files have been last changed 91-180 days ago (4,133 lines of code)
    • 58 files have been last changed 31-90 days ago (12,012 lines of code)
    • 13 files have been last changed 1-30 days ago (6,193 lines of code)
0% | 7% | 17% | 49% | 25%
Legend:
366+
181-365
91-180
31-90
1-30

explore: zoomable circles
File Change History 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 Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
h0% | 57% | 26% | 15% | 0%
cpp0% | 50% | 22% | 26% | 0%
js0% | 100% | 0% | 0% | 0%
css0% | 100% | 0% | 0% | 0%
rs0% | 0% | 100% | 0% | 0%
toml0% | 0% | 100% | 0% | 0%
thrift0% | 0% | 0% | 100% | 0%
cmake0% | 0% | 0% | 0% | 0%
in0% | 0% | 0% | 0% | 0%
plt0% | 0% | 0% | 0% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
h0% | 5% | 18% | 39% | 35%
cpp0% | 12% | 16% | 65% | 6%
js0% | 16% | 0% | 17% | 66%
css0% | 42% | 0% | 57% | 0%
rs0% | 0% | 15% | 84% | 0%
toml0% | 0% | 100% | 0% | 0%
thrift0% | 0% | 0% | 100% | 0%
cmake0% | 0% | 0% | 0% | 0%
in0% | 0% | 0% | 0% | 0%
plt0% | 0% | 0% | 0% | 0%
File Change History per Logical Decomposition
primary
primary (file age distribution)
Days since first update
366+
181-365
91-180
31-90
1-30
cachelib/allocator0% | 62% | 22% | 14% | 0%
cachelib/navy0% | 70% | 18% | 11% | 0%
cachelib/datatype0% | 70% | 29% | 0% | 0%
cachelib/cachebench0% | 36% | 29% | 34% | 0%
website0% | 100% | 0% | 0% | 0%
website/src0% | 100% | 0% | 0% | 0%
cachelib/experimental0% | 30% | 0% | 69% | 0%
cachelib/rust0% | 0% | 100% | 0% | 0%
cachelib/benchmarks0% | 0% | 87% | 12% | 0%
cachelib/shm0% | 0% | 74% | 25% | 0%
cachelib/common0% | 0% | 22% | 77% | 0%
cachelib/persistence0% | 0% | 0% | 100% | 0%
cachelib/compact_cache0% | 0% | 0% | 100% | 0%
cachelib/cmake0% | 0% | 0% | 0% | 0%
primary (latest change distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
cachelib/allocator0% | 7% | 8% | 40% | 44%
cachelib/cachebench0% | 29% | 29% | 41% | 0%
cachelib/experimental0% | 30% | 0% | 69% | 0%
cachelib/datatype0% | 15% | 72% | 0% | 12%
website/src0% | 46% | 0% | 53% | 0%
cachelib/navy0% | 2% | 29% | 67% | 0%
cachelib/rust0% | 0% | 16% | 83% | 0%
cachelib/shm0% | 0% | 74% | 25% | 0%
cachelib/common0% | 0% | 22% | 77% | 0%
cachelib/benchmarks0% | 0% | 0% | 100% | 0%
cachelib/persistence0% | 0% | 0% | 100% | 0%
cachelib/compact_cache0% | 0% | 0% | 100% | 0%
website0% | 0% | 0% | 0% | 100%
cachelib/cmake0% | 0% | 0% | 0% | 0%
Oldest Files (Top 50)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
Runner.h
in cachelib/cachebench/runner
26 1 243 243 1 1
BlockCache.cpp
in cachelib/navy/block_cache
590 22 46 240 11 4
RegionManager.cpp
in cachelib/navy/block_cache
402 26 57 240 5 3
Region.h
in cachelib/navy/block_cache
184 22 57 240 3 3
BlockCache.h
in cachelib/navy/block_cache
181 9 46 240 9 3
RegionManager.h
in cachelib/navy/block_cache
130 6 57 240 4 3
Region.cpp
in cachelib/navy/block_cache
121 11 57 240 3 3
164 3 21 236 14 5
HitsReinsertionPolicy.cpp
in cachelib/navy/block_cache
28 2 169 234 3 2
HitsReinsertionPolicy.h
in cachelib/navy/block_cache
27 - 160 234 4 2
HitsPerSlabStrategy.cpp
in cachelib/allocator
130 4 232 232 1 1
LruTailAgeStrategy.cpp
in cachelib/allocator
106 4 232 232 1 1
index.js
in website/src/pages
92 1 72 232 6 2
learnmore.js
in website/src/pages
88 - 226 232 3 2
HitsPerSlabStrategy.h
in cachelib/allocator
68 5 232 232 1 1
LruTailAgeStrategy.h
in cachelib/allocator
61 5 232 232 1 1
custom.css
in website/src/css
53 - 39 232 3 3
NvmCache-inl.h
in cachelib/allocator/nvmcache
595 24 18 229 17 4
Factory.cpp
in cachelib/navy
314 36 46 229 9 4
NavyConfig.h
in cachelib/allocator/nvmcache
283 44 19 229 9 3
NavySetup.cpp
in cachelib/allocator/nvmcache
212 10 46 229 6 3
NavyConfig.cpp
in cachelib/allocator/nvmcache
175 4 19 229 5 3
Factory.h
in cachelib/navy
77 - 46 229 5 3
sidebars.js
in website
194 - 21 228 11 4
styles.module.css
in website/src/pages
39 - 226 227 2 1
TombStones.h
in cachelib/allocator/nvmcache
74 1 220 220 1 1
CacheAllocator-inl.h
in cachelib/allocator
2576 88 19 213 26 7
CacheAllocatorConfig.h
in cachelib/allocator
719 18 19 213 8 6
CacheAllocator.h
in cachelib/allocator
665 45 36 213 24 5
MemoryMonitor.cpp
in cachelib/allocator
255 13 205 213 3 1
MemoryMonitor.h
in cachelib/allocator
80 7 171 213 4 1
NandWrites.cpp
in cachelib/cachebench/util
262 17 211 211 1 1
Driver.cpp
in cachelib/navy/driver
354 19 129 203 3 2
NvmCache.h
in cachelib/allocator/nvmcache
204 16 18 203 9 4
Driver.h
in cachelib/navy/driver
84 - 91 203 4 2
DynamicRandomAP.h
in cachelib/navy/admission_policy
84 1 203 203 1 1
AbstractCache.h
in cachelib/navy
40 - 129 203 2 2
CacheConfig.h
in cachelib/cachebench/util
94 - 57 200 2 2
CacheConfig.cpp
in cachelib/cachebench/util
94 1 200 200 1 1
CacheItem-inl.h
in cachelib/allocator
391 51 21 194 3 2
CacheStats.h
in cachelib/allocator
299 13 70 194 4 4
CacheStats.cpp
in cachelib/allocator
254 15 18 194 6 5
RebalanceStrategy.cpp
in cachelib/allocator
218 14 78 194 2 2
Refcount.h
in cachelib/allocator
215 34 194 194 1 1
CacheItem.h
in cachelib/allocator
214 2 21 194 9 6
CacheStatsInternal.h
in cachelib/allocator
101 - 70 194 4 3
PercentageReinsertionPolicy.h
in cachelib/navy/block_cache
25 3 160 192 3 1
RangeMap.h
in cachelib/datatype
168 9 184 190 2 1
Map.h
in cachelib/datatype
137 13 22 190 4 3
Buffer.h
in cachelib/datatype
302 28 127 186 2 1
Files Not Recently Changed (Top 50)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
Runner.h
in cachelib/cachebench/runner
26 1 243 243 1 1
LruTailAgeStrategy.h
in cachelib/allocator
61 5 232 232 1 1
HitsPerSlabStrategy.h
in cachelib/allocator
68 5 232 232 1 1
LruTailAgeStrategy.cpp
in cachelib/allocator
106 4 232 232 1 1
HitsPerSlabStrategy.cpp
in cachelib/allocator
130 4 232 232 1 1
styles.module.css
in website/src/pages
39 - 226 227 2 1
learnmore.js
in website/src/pages
88 - 226 232 3 2
TombStones.h
in cachelib/allocator/nvmcache
74 1 220 220 1 1
NandWrites.cpp
in cachelib/cachebench/util
262 17 211 211 1 1
MemoryMonitor.cpp
in cachelib/allocator
255 13 205 213 3 1
DynamicRandomAP.h
in cachelib/navy/admission_policy
84 1 203 203 1 1
CacheConfig.cpp
in cachelib/cachebench/util
94 1 200 200 1 1
Refcount.h
in cachelib/allocator
215 34 194 194 1 1
RangeMap.h
in cachelib/datatype
168 9 184 190 2 1
Allocator-inl.h
in cachelib/experimental/objcache
178 6 183 183 1 1
readonly.h
in cachelib/rust/readonly
20 - 177 177 1 1
readonly.cpp
in cachelib/rust/readonly
28 1 177 177 1 1
errors.rs
in cachelib/rust/src
49 - 177 177 1 1
TypedHandle.h
in cachelib/allocator
94 4 177 186 2 1
readonly.rs
in cachelib/rust/readonly
165 5 177 177 1 1
Cargo.toml
in cachelib/rust
18 - 176 177 2 2
Iterators.h
in cachelib/common
62 1 172 172 1 1
MemoryMonitor.h
in cachelib/allocator
80 7 171 213 4 1
Util.h
in cachelib/allocator
90 7 170 170 1 1
HitsReinsertionPolicy.cpp
in cachelib/navy/block_cache
28 2 169 234 3 2
FixedSizeArray.h
in cachelib/datatype
194 31 168 168 1 1
MemoryAllocator.h
in cachelib/allocator/memory
204 26 168 168 1 1
NavySetup.h
in cachelib/allocator/nvmcache
17 - 163 163 1 1
Types.cpp
in cachelib/navy/common
35 - 163 163 1 1
Types.h
in cachelib/navy/common
38 - 163 163 1 1
Cache.h
in cachelib/allocator
98 - 163 168 2 1
CacheStressor.h
in cachelib/cachebench/runner
377 15 163 163 1 1
BigHash.cpp
in cachelib/navy/bighash
383 15 163 163 1 1
BlockCacheReinsertionPolicy.h
in cachelib/allocator/nvmcache
13 - 160 160 1 1
PercentageReinsertionPolicy.h
in cachelib/navy/block_cache
25 3 160 192 3 1
HitsReinsertionPolicy.h
in cachelib/navy/block_cache
27 - 160 234 4 2
CacheVersion.h
in cachelib/allocator
17 - 157 185 2 1
ShmManager.cpp
in cachelib/shm
281 15 155 155 1 1
ChainedHashTable.h
in cachelib/allocator
296 22 147 147 1 1
AbstractCache.h
in cachelib/navy
40 - 129 203 2 2
Driver.cpp
in cachelib/navy/driver
354 19 129 203 3 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
MapView.h
in cachelib/datatype
93 7 127 127 1 1
Buffer-inl.h
in cachelib/datatype
182 10 127 186 2 1
Buffer.h
in cachelib/datatype
302 28 127 186 2 1
CacheApiWrapper.h
in cachelib/allocator/nvmcache
41 5 119 185 2 2
cachelib-oss.cpp
in cachelib/rust/src
9 1 107 177 2 3
build.rs
in cachelib/rust
24 1 107 177 2 3
Most Recently Created Files (Top 50)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
AllocationClass.cpp
in cachelib/allocator/memory
562 20
cmake
fb_cxx_flags.cmake
in cachelib/cmake
490 -
CCache-inl.h
in cachelib/compact_cache
465 18
RangeMap-inl.h
in cachelib/datatype
414 24
PieceWiseCache.cpp
in cachelib/cachebench/workload
413 21
MemoryPool.cpp
in cachelib/allocator/memory
389 16
Map-inl.h
in cachelib/datatype
381 18
CCacheVariableLruBucket.h
in cachelib/compact_cache
367 19
MutexBench.cpp
in cachelib/benchmarks
351 18
317 16
Utils.cpp
in cachelib/common
316 21
IntegrationStressor.cpp
in cachelib/cachebench/runner
303 11
Device.cpp
in cachelib/navy/common
301 21
PosixShmSegment.cpp
in cachelib/shm
274 15
cmake
FindSodium.cmake
in cachelib/cmake
263 -
SysVShmSegment.cpp
in cachelib/shm
261 14
BucketMutexBench.cpp
in cachelib/benchmarks
258 11
CacheAllocatorOpsMicroBench.cpp
in cachelib/benchmarks
243 5
Mutex.h
in cachelib/common
238 20
ThreadPoolJobScheduler.cpp
in cachelib/navy/scheduler
229 18
MMTypeBench.cpp
in cachelib/benchmarks
215 2
MemoryAllocator.cpp
in cachelib/allocator/memory
208 13
ApproxSplitSet.h
in cachelib/common
181 21
DynamicRandomAP.cpp
in cachelib/navy/admission_policy
179 11
PieceWiseReplayGenerator.cpp
in cachelib/cachebench/workload
173 1
MMTypeBench.h
in cachelib/benchmarks
170 21
Index.cpp
in cachelib/navy/block_cache
168 14
PieceWiseCache.h
in cachelib/cachebench/workload
167 3
LruPolicy.cpp
in cachelib/navy/block_cache
167 13
CCache.h
in cachelib/compact_cache
166 12
Slab.h
in cachelib/allocator/memory
163 18
Config.cpp
in cachelib/cachebench/util
162 1
DList-inl.h
in cachelib/allocator/datastruct
162 13
AllocationClass.h
in cachelib/allocator/memory
154 9
FifoPolicy.cpp
in cachelib/navy/block_cache
151 16
WorkloadGenerator.cpp
in cachelib/cachebench/workload
148 4
SmallOperationMicroBench.cpp
in cachelib/benchmarks
148 9
Allocator.h
in cachelib/experimental/objcache
147 7
BinarySearchVsHashTableBench.cpp
in cachelib/benchmarks
147 5
NvmCacheState.cpp
in cachelib/allocator
143 16
Buffer.h
in cachelib/navy/common
142 22
Stressor.cpp
in cachelib/cachebench/runner
137 4
NvmAdmissionPolicy.h
in cachelib/allocator
133 13
IntegrationStressor.h
in cachelib/cachebench/runner
127 19
main.cpp
in cachelib/cachebench
127 5
GenericPiecesTest.cpp
in cachelib/common/piecewise
125 -
MemoryPool.h
in cachelib/allocator/memory
124 14
main.cpp
in cachelib/benchmarks/tl-bench
123 2
CCacheFixedLruBucket.h
in cachelib/compact_cache
123 14
121 1
Most Recently Changed Files (Top 50)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes# contributors
AllocationClass.cpp
in cachelib/allocator/memory
562 20
cmake
fb_cxx_flags.cmake
in cachelib/cmake
490 -
CCache-inl.h
in cachelib/compact_cache
465 18
RangeMap-inl.h
in cachelib/datatype
414 24
PieceWiseCache.cpp
in cachelib/cachebench/workload
413 21
MemoryPool.cpp
in cachelib/allocator/memory
389 16
Map-inl.h
in cachelib/datatype
381 18
CCacheVariableLruBucket.h
in cachelib/compact_cache
367 19
MutexBench.cpp
in cachelib/benchmarks
351 18
317 16
Utils.cpp
in cachelib/common
316 21
IntegrationStressor.cpp
in cachelib/cachebench/runner
303 11
Device.cpp
in cachelib/navy/common
301 21
PosixShmSegment.cpp
in cachelib/shm
274 15
cmake
FindSodium.cmake
in cachelib/cmake
263 -
SysVShmSegment.cpp
in cachelib/shm
261 14
BucketMutexBench.cpp
in cachelib/benchmarks
258 11
CacheAllocatorOpsMicroBench.cpp
in cachelib/benchmarks
243 5
Mutex.h
in cachelib/common
238 20
ThreadPoolJobScheduler.cpp
in cachelib/navy/scheduler
229 18
MMTypeBench.cpp
in cachelib/benchmarks
215 2
MemoryAllocator.cpp
in cachelib/allocator/memory
208 13
ApproxSplitSet.h
in cachelib/common
181 21
DynamicRandomAP.cpp
in cachelib/navy/admission_policy
179 11
PieceWiseReplayGenerator.cpp
in cachelib/cachebench/workload
173 1
MMTypeBench.h
in cachelib/benchmarks
170 21
Index.cpp
in cachelib/navy/block_cache
168 14
PieceWiseCache.h
in cachelib/cachebench/workload
167 3
LruPolicy.cpp
in cachelib/navy/block_cache
167 13
CCache.h
in cachelib/compact_cache
166 12
Slab.h
in cachelib/allocator/memory
163 18
Config.cpp
in cachelib/cachebench/util
162 1
DList-inl.h
in cachelib/allocator/datastruct
162 13
AllocationClass.h
in cachelib/allocator/memory
154 9
FifoPolicy.cpp
in cachelib/navy/block_cache
151 16
WorkloadGenerator.cpp
in cachelib/cachebench/workload
148 4
SmallOperationMicroBench.cpp
in cachelib/benchmarks
148 9
Allocator.h
in cachelib/experimental/objcache
147 7
BinarySearchVsHashTableBench.cpp
in cachelib/benchmarks
147 5
NvmCacheState.cpp
in cachelib/allocator
143 16
Buffer.h
in cachelib/navy/common
142 22
Stressor.cpp
in cachelib/cachebench/runner
137 4
NvmAdmissionPolicy.h
in cachelib/allocator
133 13
IntegrationStressor.h
in cachelib/cachebench/runner
127 19
main.cpp
in cachelib/cachebench
127 5
GenericPiecesTest.cpp
in cachelib/common/piecewise
125 -
MemoryPool.h
in cachelib/allocator/memory
124 14
main.cpp
in cachelib/benchmarks/tl-bench
123 2
CCacheFixedLruBucket.h
in cachelib/compact_cache
123 14
121 1