Closed stephentoub closed 4 months ago
[Benchmark] public int CountTokens() => _tokenizer.CountTokens(Poem);
with the same Poem as in https://github.com/dotnet/machinelearning/pull/7012, and setting the LruCache size to 0 in order to skip the cache and measure what's being changed here...
Before:
After:
cc: @tarekgh
Attention: 5 lines in your changes are missing coverage. Please review.
5 lines
Comparison is base (f976424) 68.81% compared to head (b50995c) 68.81%.
f976424
b50995c
with the same Poem as in https://github.com/dotnet/machinelearning/pull/7012, and setting the LruCache size to 0 in order to skip the cache and measure what's being changed here...
Before:
After:
cc: @tarekgh