compare
cloc vs tokei
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | cloc | tokei |
|---|---|---|
| Language | Perl | Rust |
| Licence | GPL-2.0 | Other |
| Stars | 24k | 15k |
| Latest | v2.10 | v15.0.0 |
| Last push | 2026-09-20 | 2026-09-06 |
| Release cadence | about 171 days between releases | about 158 days between releases |
| Active contributors | 7 commit authors on the default branch in the last 90 days | 3 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
tokei replaces cloc. Alternatives to cloc →
Full replacementCounts code, comments and blanks per language, from a single binary.
Published benchmarks, each linked to its source. The numbers depend on the hardware and the workload they were measured on.
Counting the Redis source on Linux
hyperfine on a 16 vCPU droplet, ~180,000 lines: tokei 7.0.1 28.1 ms, cloc 1.60 1.485 s. Run by the scc author.
cloc
tokei
- v15.0.02026-09-06Added C3 programming language. (#1319)
- v14.0.02025-12-30add support for C++20 modules (#1278)
- v13.0.02025-11-25Update README.md
- v13.0.0-alpha.92025-07-28Update README.md
- v13.0.0-alpha.82025-01-14add Mojo support (#1107) (#1185)
cloc
unsigned The latest release, v2.10, carries no signature GitHub could verify.
Loading the security report
tokei
unsigned The latest release, v15.0.0, carries no signature GitHub could verify.
Loading the security report