Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 31 million developers.Sign up
Performance release. Language features are now lazy loaded which improves performance for all repositories.
A comparison between 2.0.0 and 2.1.0 included below.
$ hyperfine './scc redis-5.0.2' && hyperfine 'scc redis-5.0.2' Benchmark #1: ./scc redis-5.0.2 Time (mean ± σ): 81.6 ms ± 5.0 ms [User: 173.8 ms, System: 265.4 ms] Range (min … max): 75.5 ms … 97.1 ms Benchmark #1: scc redis-5.0.2 Time (mean ± σ): 124.4 ms ± 2.4 ms [User: 168.6 ms, System: 289.1 ms] Range (min … max): 120.0 ms … 128.4 ms
Version 2.0.0 Due to change of command line flags. Run
scc --help for the full list.
Improvements and bug-fixes include the following,
- Exit with non-zero outcome on command error
- Improve ATS language support
- Resolve bug where not marking YML comments
- Modify shell extensions for better support
- Improve IDL file-type recognition
- Regex tweak to improve exclusion performance for exclusion matching
- Gamemaker Project File
- Android Interface Definition Language
- Closure Templates
A big thank you to the following people for their pull requests
Slight tweak to improve Game Maker reporting.
- Change over to use box-lines for display output
- Game Maker Language
- Vertex Shader
- Fragment Shaderg
- --exclude -e Ignore files and directories matching supplied regular expression, E.G.
scc -e "vendor|.*\.json" .to ignore vendor directories and json files
Accuracy improved to conform to tokei standards as per https://github.com/Aaronepower/tokei/blob/master/COMPARISON.md
Improved performance, as such complexity calculations are almost free
Massively improve accuracy.
Resolve bug where jump ahead logic would skip newlines.
Compiled with Go 1.11 so expect improved performance.
Improved GC tweaking for better performance. Binary file detection similar to how GNU Grep, git and ripgrep work were a null byte indicates a binary file. Log will be printed (if in verbose mode) indicating so and file will be removed from output.
--binaryWill process binary files if they are identified as being a language, even if they would be classified as binary.
- AsciiDoc (adoc)