有一个 1.2 GB 是视频文件

(svddb_sdk) ╭─pon@admini ~/code/pon/pon_sdk  ‹master*› 
╰─➤  ls -alh /home/pon/Downloads/svddb/meta/video_rename/1d0143aa-1d38-11ed-85a5-42010a800101.mp4
-rw-rw-r-- 1 pon pon 1.2G Dec  6 11:17 /home/pon/Downloads/svddb/meta/video_rename/1d0143aa-1d38-11ed-85a5-42010a800101.mp4

让我们来看看使用 md5sum 计算该文件的 md5 值需要多久!

╰─➤  time md5sum /home/pon/Downloads/svddb/meta/video_rename/1d0143aa-1d38-11ed-85a5-42010a800101.mp4
6d8572d156db4b180a49d03f6bbf0c1a  /home/pon/Downloads/svddb/meta/video_rename/1d0143aa-1d38-11ed-85a5-42010a800101.mp4
md5sum   3.60s user 0.48s system 99% cpu 4.084 total

花了 3.6s 哦


universe_king
3.4k 声望678 粉丝

引用和评论

0 条评论