diff --git a/Cargo.lock b/Cargo.lock index f0c4531..8a23712 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2312,7 +2312,7 @@ checksum = "26f6a7b87c2e435a3241addceeeff740ff8b7e76b74c13bf9acb17fa454ea00b" [[package]] name = "posh-tabcomplete" -version = "0.1.4" +version = "0.1.5" dependencies = [ "clap", "diff", diff --git a/Cargo.toml b/Cargo.toml index 096a481..69d1238 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "posh-tabcomplete" -version = "0.1.4" +version = "0.1.5" edition = "2021" license = "MIT OR Apache-2.0" description = "Blazing fast tab completion for powershell." diff --git a/benchmark/all.md b/benchmark/all.md index 9fb21f5..b76c940 100644 --- a/benchmark/all.md +++ b/benchmark/all.md @@ -1,21 +1,21 @@ # All results -file size: 16797696 +file size: 14286336 ## Init | Command | Mean [ms] | Min [ms] | Max [ms] | Relative | |:---|---:|---:|---:|---:| -| `pwsh -NoProfile -File ./../profiles/ProfileBaseline.ps1` | 242.2 ± 9.0 | 231.2 | 266.5 | 1.00 | -| `pwsh -NoProfile -File ./../profiles/ProfilePoshGit.ps1` | 543.3 ± 13.4 | 519.7 | 570.1 | 2.24 ± 0.10 | -| `pwsh -NoProfile -File ./../profiles/ProfileTabComplete.ps1` | 304.5 ± 8.5 | 293.1 | 331.2 | 1.26 ± 0.06 | +| `pwsh -NoProfile -File ./../profiles/ProfileBaseline.ps1` | 234.5 ± 6.0 | 226.0 | 250.7 | 1.00 | +| `pwsh -NoProfile -File ./../profiles/ProfilePoshGit.ps1` | 525.4 ± 6.2 | 514.2 | 541.2 | 2.24 ± 0.06 | +| `pwsh -NoProfile -File ./../profiles/ProfileTabComplete.ps1` | 295.1 ± 4.9 | 288.2 | 311.9 | 1.26 ± 0.04 | -tabcomplete: 62ms, posh-git: 301ms (4.85x faster) +tabcomplete: 60ms, posh-git: 290ms (4.83x faster) ## Complete | Command | Mean [ms] | Min [ms] | Max [ms] | Relative | |:---|---:|---:|---:|---:| -| `pwsh -NoProfile -File CompleteBaseline.ps1` | 582.9 ± 9.7 | 570.1 | 610.0 | 1.00 | -| `pwsh -NoProfile -File CompletePoshGit.ps1` | 752.6 ± 15.4 | 730.7 | 786.8 | 1.29 ± 0.03 | -| `pwsh -NoProfile -File CompleteTabComplete.ps1` | 670.3 ± 14.9 | 646.7 | 696.6 | 1.15 ± 0.03 | +| `pwsh -NoProfile -File CompleteBaseline.ps1` | 574.8 ± 9.2 | 561.8 | 599.1 | 1.00 | +| `pwsh -NoProfile -File CompletePoshGit.ps1` | 761.5 ± 8.6 | 746.9 | 780.7 | 1.32 ± 0.03 | +| `pwsh -NoProfile -File CompleteTabComplete.ps1` | 660.5 ± 10.5 | 647.3 | 694.2 | 1.15 ± 0.03 | -tabcomplete: 87ms, posh-git: 169ms (1.94x faster) +tabcomplete: 85ms, posh-git: 186ms (2.19x faster)