ziglang/gotta-go-fast hiện có 250 sao trên GitHub, viết chủ yếu bằng Zig. Performance Tracking for Zig
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This project exists to track various benchmarks related to the Zig project
regarding execution speed, memory usage, throughput, and other resource
utilization statistics.
The goal is to prevent performance regressions, and provide understanding
and exposure to how various code changes affect key measurements.
See the latest results
Strategy
This repository is cloned by a Continuous Integration script that runs on every
master branch commit to ziglang/zig and
executes a series of benchmarks using Linux's performance measurement syscalls
(the same thing that perf does). The machine is a dedicated Hetzner server
with a AMD Ryzen 9 5950X 16-Core Processor, an NVMe hard drive, Linux kernel
5.14.14-arch1-1. See more details below in the CPU Details section.
The measurements are stored in a CSV file which is atomically swapped with
updated records when a new benchmark completes. After a new benchmark row is added
to the dataset, it is pushed to https://ziglang.org/perf/records.csv. The
static HTML + JavaScript at https://ziglang.org/perf/ loads records.csv and
presents it in interactive graph form.
Each benchmark gets a fixed amount of time allocated: 5 seconds per benchmark.
For each measurement, there is a min, max, mean, and median value. The best and
worst runs according to Wall Clock Time are discarded to account for system
noise.
Measurements Collected
Wall Clock Time
Peak Resident Set Size (memory usage)
How many times the benchmark was executed in 5 seconds
These measurements should only be taken for a Zig compiler that has passed the
full test suite, and the $ZIG_EXE command should be a release build matching the
git commit of $COMMIT_SHA1. $COMMIT_TIMESTAMP is required to be in the format
given by --pretty=format:%at.
This will add 1 row per benchmark to records.csv for the specified commit.
The CI script should then push records.csv and manifest.json to the server so
that the frontend HTML+JavaScript can fetch them and display the information.
Backfilling Data
$ZIG_GIT_SRC must be a git clone of zig, with a build-backfill folder
configured with CMake already. It needs to be configured this way:
This ninja install creates stage1/bin/zig which is left untouched, and then
ninja (without the install argument) is used for older zig versions when going
through the commits.
commits.txt is a file containing whitespace-separated git commit hashes.
Use an absolute path for the ending $ZIG_EXE argument which is in a subdirectory
of the zig source tree used to build the zig binary. Some of the benchmarks
want to learn the zig source checkout path in order to test stuff.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ziglang/gotta-go-fast là nguồn chính thức.
ziglang/gotta-go-fast có phải mã nguồn mở không?
Có — ziglang/gotta-go-fast phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/ziglang/gotta-go-fast.
ziglang/gotta-go-fast có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho ziglang/gotta-go-fast. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
ziglang/gotta-go-fast dùng license gì?
ziglang/gotta-go-fast phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
ziglang/gotta-go-fast là gì?
ziglang/gotta-go-fast (ziglang/gotta-go-fast) là dự án Zig trên GitHub. Theo mô tả gốc: Performance Tracking for Zig
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về gotta-go-fast?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về gotta-go-fast.