Add the Benchmark blog template (`blog-benchmark`)
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Part of #5. For posts that compare how fast (or how big) a few things are.
Idea
A small "Benchmark" label in the accent color at the top, the post title under it ("Bun vs Deno vs Node: HTTP throughput") with an optional one-line note ("Requests per second, higher is better"). Then up to four horizontal bars, one per row: the name on the left ("Bun"), the bar, and the number at the end ("112,000 req/s"). Every bar is scaled to the largest value, so the largest one fills its track and is drawn in the accent color, while the others use a muted color. The site name sits at the bottom.
Template details
- File:
src/templates/blog/benchmark.ts, idblog-benchmark - Fields:
commonFields.title,commonFields.description(the note, optional),name1toname4(text, optional, defaults "Bun", "Deno", "Node" and blank),value1tovalue4(number, optional, defaults 112000, 71000, 48000 and blank),unit(text, optional, default "req/s"),commonFields.siteName,commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/github/language-bars.ts(rows of labeled bars),src/templates/blog/table-of-contents.ts(a short list where blank rows are skipped)
Acceptance criteria
- Bars are scaled to the largest value, the largest is in the accent color, and the numbers show with thousands separators plus the unit when it's set
- A row with a blank name, or a value that isn't a number of 0 or more, is skipped with no gap; all-zero values draw empty bars without dividing by zero; and with every row skipped the chart area hides cleanly
- A long title, note or name shrinks with
autoFontSize()and then truncates - The label and the accent bar stay readable on a light background
- Re-exported in
src/templates/blog/index.tsand registered in the blog block ofsrc/templates/registry.ts - Meets the shared template checklist in #5
One template per contributor at a time, so more people get a chance.
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #301 in the description.
- Ngôn ngữ chính
- TypeScript
- Star
- 8
- Fork
- 4
- Merge trung bình
- 8 giờ 19 phút
- Pull request đã merge (30 ngày)
- 129
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codercops/ogcops
-
[Bug] Uppercase HTML named entities are not decoded in meta-fetcherCó thể đã có người làm @srikar-naidu đã nhận 1 ngày trước. Đang mởbug hacktoberfest
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
codercops/ogcops#314 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Fractional height values are not rounded in resolveDimensionsCó thể đã có người làm @anurag2787 đã nhận 1 ngày trước. Đang mởbug hacktoberfest
codercops/ogcops#313 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add the Package Card GitHub template (`github-package-card`)Có thể đã có người làm @anurag2787 đã nhận 2 ngày trước. Đang mởgood first issue hacktoberfest templates
codercops/ogcops#304 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add the Live Recording podcast template (`podcast-live-recording`)Có thể đã có người làm @Ravindar-Amogh-Gummadavelly đã nhận 4 ngày trước. Đang mởgood first issue hacktoberfest templates
codercops/ogcops#261 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hacktoberfest 2026: start hereCó thể đã có người làm @Saifjafri212213 đã nhận 1 ngày trước. Đang mởhacktoberfest
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
codercops/ogcops#88 · 11 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codercops/ogcops
Issue tương tự
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Export the Hemi Earn Router address and the Router and Agent ABIs from `@vetro-protocol/earn`Đang mởhemi-earn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
vetro-protocol/vetro-monorepo#1043 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
stage 2: bare names resolve against PATH differently from the shell (empty and relative entries)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
STRML/omp-classifier#206 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
atlassian-labs/mermaid-diagrams-viewer#188 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dashboard enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Olanetsoft/agent-lookout#225 ·
Maintainer thường phản hồi trong vòng 1 ngày