Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent formatting when reading multiple XLS files concurrently (#1469) #1470

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Vemahk
Copy link

@Vemahk Vemahk commented Jan 4, 2025

Fixes #1469 by using AsyncLocal for static cache values.

Benchmark

BenchmarkDotNet v0.13.12, Windows 10 (10.0.19045.5247/22H2/2022Update)
AMD Ryzen 5 1600X, 1 CPU, 12 logical and 6 physical cores
.NET SDK 9.0.101
  [Host]     : .NET 6.0.36 (6.0.3624.51421), X64 RyuJIT AVX2
  DefaultJob : .NET 6.0.36 (6.0.3624.51421), X64 RyuJIT AVX2

Initial

Method RowCount Mean Error StdDev
Read 1000 7.045 ms 0.1364 ms 0.1675 ms

Undo of 96186d6

Method RowCount Mean Error StdDev
Read 1000 9.296 ms 0.1820 ms 0.2302 ms

AsyncLocal Implementation

Method RowCount Mean Error StdDev
Read 1000 7.294 ms 0.0258 ms 0.0229 ms

@Vemahk
Copy link
Author

Vemahk commented Jan 25, 2025

Added async local implementation & updated initial PR with new benchmarks

@Vemahk Vemahk marked this pull request as ready for review January 25, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent formatting when reading multiple XLS files concurrently
1 participant