Skip to content

Cache the results of your command within the specified time

Notifications You must be signed in to change notification settings

jingminglang/cmd_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cmd_cache

Cache the results of your command within the specified time

Currently only supports Linux

Don't use it in serious projects

Example

$ time ./main -c 'seq 1000000 |count' -t 10

500000500000

./main -c 'seq 1000000 |count' -t 10 0.80s user 0.09s system 102% cpu 0.872 total

$ time ./main -c 'seq 1000000 |count' -t 10

500000500000

./main -c 'seq 1000000 |count' -t 10 0.00s user 0.00s system 0% cpu 0.003 total

About

Cache the results of your command within the specified time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages