Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P838
time ls -f history/
Active
Public
Actions
Authored by
haltode
on Oct 26 2020, 5:15 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
on master:
Impossible to list history/ for more than a few hundreds commits because ls
getdents() syscalls are done with a quite small buffer (19 entries on my
machine), hence the readdir is regularly called with a different offset and the
directories entries are re-computed every time.
on feature/add-direntry-lru-cache:
- medium repo (13k commits)
1s (no cache)
0.2s (cached)
- very large repo (900k commits)
6min24s (no cache)
4min34s (cached)
Event Timeline
haltode
created this paste.
Oct 26 2020, 5:15 PM
2020-10-26 17:15:33 (UTC+1)
haltode
created this object in space
S1 Public
.
Log In to Comment