Changelog History
Page 2
-
v11.1.0 Changes
April 13, 2020โ Added Languages
- @rubdos Arduino
- @LuqueDaniel Pan
@itkovian Ren'Py
Added
LanguageType::shebangs
,LanguageType::from_file_extension
, andLanguageType::from_shebang
. (@solanav)
-
v11.0.0 Changes
March 21, 2020Added languages
- @bwidawsk GNU Assembly, GDB Script
- @isker Dust, Apache Velocity
- @andreblanke FreeMarker
๐ Thanks to some major internal refactoring, Tokei has received significant performance improvements, and is now one of the fastest code counters across any size of codebase. With Tokei 11 showing up to 40โ60% faster results than tokei's previous version. To showcase the improvements I've highlighted benchmarks of counting five differently sized codebases. Redis (~220k lines), Rust (~16M lines), and the Unreal Engine (~37.5M lines). In every one of these benchmarks Tokei 11 performed the best by a noticeable margin.
๐ All benchmarks were done on a 15-inch MacBook Pro, with a 2.7GHz Intel Core i7 processor and 16GB 2133 MHz LPDDR3 RAM running macOS Catalina 10.15.3. Your mileage may vary, All benchmarks were done using hyperfine, using default settings for all programs.
Tokei (~5k lines)
Note This benchmark is not accurate due to
tokei
andloc
both taking less than 5ms to complete, as such there is a high degree of error between these times and should mostly be considered equivalent. However it is included because it is notable thatscc
takes nearly 3x as long to complete on smaller codebases.
Redis (~220k lines)
Rust (~16M lines)
Unreal (~37.5M lines)
-
v10.1.2 Changes
February 16, 2020- โ Added
pyw
extension to Python. - โก๏ธ Updated dependencies
- โ Added
-
v10.1.1 Changes
December 29, 2019- ๐ Fixed
.tokeignore
always working even when--no-ignore
is present. - โก๏ธ Updated dependencies
โ Added languages
- @erikaxel Gherkin (Cucumber)
- ๐ Fixed
-
v10.1.0 Changes
November 12, 2019- โ Added
cjsx
extension to CoffeeScript. - ๐ Tokei will now recognise files with
#!/usr/bin/env ruby
as Ruby. - โก๏ธ Updated dependencies.
- Tokei now uses
crossbeam
channels overstd::mpsc
, which should have a noticeable performance improvement on large repos. - ๐ Improved documentation for
libtokei
.
โ Added languages
- @lzybkr PowerShell
- @turbo MoonScript
- @dtolnay Thrift
- @Tranzystorek FlatBuffers
- @NieDzejkob Emojicode
- @DanteFalzone0 HolyC
- @sci4me Odin
- @fkarg Rusty Object Notation (RON)
- โ Added
-
v10.0.1
July 04, 2019 -
v10.0.0 Changes
June 10, 2019- ๐ Fixed minor parsing bugs.
- Width is now limited to 80 unless you use the
--files
flag. - โ Added the
mjs
extension to JavaScript. - โ Added the
tpp
extension to C++. - ๐ You can now disable Tokei's git ignore detection, similar to ripgrep. See
--help
for options. - You can now add a
.tokeignore
file to your project to specify file paths for tokei to always ignore. This file uses the same syntax as.gitignore
. - ๐ Improved Pascal representation
โ Added languages
- @hobofan solidity
- @stefanmaric GraphQL
- @jhpratt PostCSS
- @evitalis RPM
- @alexmaco Pony
- @yjhmelody WASM, LLVM, Pest
- @XAMPPRocky ASN.1
-
v9.1.1
March 30, 2019 -
v9.1.0
March 20, 2019 -
v9.0.0 Changes
January 13, 2019- Tokei now has config files. You can now specify some commonly used arguments
in a
.tokeirc
/tokei.toml
. Namelycolumns
to set the default column output,types
to filter your count to just a single set of languages, andtreat_doc_strings_as_comments
which is a new option that allows you to specify whether to treat doc strings such as"""
in Python as comments or code. The config files can be specified in two places, the current directory tokei is running in and your [system configuration directory](//docs.rs/tokei/struct.Config.html#method.from_config_files). The priority of options is as followsCLI > <current_directory> > <configuration_directory>
. - Tokei is now available on Conda.
- Tokei's README has been translated to chinese.
LanguageType
now implementsHash
.- Tokei now batches it's console output, this should result in a small performance boost.
- There is now a
--columns
argument for manually setting tokei's output width. - The
--sort
argument is now case-insensitive. - ๐ Tokei will now mark languages who's files failed to parse correctly as potentially inaccurate.
- Due to a bug in trust-ci
x86_64-unknown-netbsd
versions are will not be available in GitHub releases. (You will still be able to install from source.) - ๐ Due to toml-rs's lacking enum support the TOML output option has been disabled.
โ Added languages
- @t-richards Liquid
- @diaphore Added the
.glsl
extension to GLSL. - @ahmedelgabri Twig
- @pmoura Logtalk
- @alekratz Perl, Not Quite Perl
- ๐ @XAMPPRocky Automake, .NET Resource, HLSL, INI, Unreal Plugin, Unreal Project, Unreal Shader, Unreal Shader Header, Unreal Markdown, Visual Basic, Visual Studio Solution, Visual Studio Project, Xcode Config,
- @TheMrNomis SWIG
- @xnorme Added the
.vhdl
extension to VHDL
- Tokei now has config files. You can now specify some commonly used arguments
in a