mirror of
https://github.com/dfinke/ImportExcel.git
synced 2026-01-08 19:43:14 +00:00
Read a larger sheet
This commit is contained in:
BIN
UnitTests/ImportExcelTests/LargerFile.xlsx
Normal file
BIN
UnitTests/ImportExcelTests/LargerFile.xlsx
Normal file
Binary file not shown.
@@ -17,7 +17,16 @@ Describe "Tests" {
|
||||
$data[1].p1 | Should be "b"
|
||||
}
|
||||
|
||||
It "Should read fast <1000 milliseconds" {
|
||||
It "Should read fast < 1000 milliseconds" {
|
||||
$timer.TotalMilliseconds | should BeLessThan 1000
|
||||
}
|
||||
|
||||
It "Should read larger xlsx < 2000 milliseconds" {
|
||||
$timer = Measure-Command {
|
||||
$null = Import-Excel $PSScriptRoot\LargerFile.xlsx
|
||||
}
|
||||
|
||||
$timer.TotalMilliseconds | should BeLessThan 2000
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user