zstd benchmark mode: better progress indicator

Đang mở
#4,850 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
c
Lĩnh vực
cli

Hướng nghiên cứu

Start by locating the command-line harness code for benchmark mode (-b/-e) and how it reports progress while processing corpus files and compression levels. Determine how progress can be measured for a level without the detail of -S; done means benchmark runs show the current level and its progress while retaining the existing corpus output.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Currently on large corpuses (-r with large of many files) zstd's benchmark mode (-b) can reasonably look like it got stuck:

  • first it ingests the corpus, printing the name of each file
  • then nothing happens (it kinda looks stuck on the last direntry) until the first compression level completes
  • same for second
  • ...

Would be nice if the command-line harness provided some signs of life and some progress e.g. [N/K] [ xy%] where K is the number of levels in the benchmark (in -b/-e mode), N is the currenth, and xy% is the progress for the current. -S exists but it's a bit too detailed.

Ngôn ngữ chính
C
Star
28.1k
Fork
2.7k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của facebook/zstd

Tất cả issue của facebook/zstd

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.