Initial timing tests. 7.4.2 is the benchmark 7.4.2 vs newer versions processing time #1299

This commit is contained in:
dfinke
2022-11-06 15:28:11 -05:00
parent 63f6543784
commit 09c22654ab
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
Import-Module $PSScriptRoot\..\..\ImportExcel.psd1 -Force
Describe "Tests Import-Excel Timings" -Tag Timing {
It "Should read the 20k xlsx in -le 2100 milliseconds" {
$timer = Measure-Command {
$null = Import-Excel $PSScriptRoot\Rows20k.xlsx
}
$timer.TotalMilliseconds | Should -BeLessOrEqual 2100
}
}