github so-fancy/diff-so-fancy v1.4.1

latest releases: v1.4.4, v1.4.3, v1.4.2...
2 years ago

This is the "QuickSilver" release as it's main focus is speed, speed, speed. Previously diff-so-fancy did a lot of shelling out to read the git config (5+ per invocation). This slowed down start up and was a personal pet peeve of mine. After much tweaking we've decreased the startup time by more than 60%.

Version 1.4.1

:perl third_party/cli_bench/cli_bench.pl '/tmp/diff-so-fancy-1.4.1 < /tmp/simple.diff'
...................................................

27 ms: %%%%%%%%%%%%%%%%%% (10.0%)
28 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (45.0%)
29 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (35.0%)
30 ms: %%%%%%%%%%%%%%%%%% (10.0%)

Ran '/tmp/diff-so-fancy-1.4.1 < /tmp/simple.diff' 50 times with average completion time of 28 ms

Version 1.4.0

:perl third_party/cli_bench/cli_bench.pl '/tmp/diff-so-fancy-1.4.0 < /tmp/simple.diff'
...................................................

71 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (22.5%)
72 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (40.0%)
73 ms: %%%%%%%%%%%%%%%%%%%%%%%%%% (12.5%)
74 ms: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (25.0%)

Ran '/tmp/diff-so-fancy-1.4.0 < /tmp/simple.diff' 50 times with average completion time of 72 ms

Don't miss a new diff-so-fancy release

NewReleases is sending notifications on new releases.