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

Identify/Fix Bottlenecks #261

Closed
clambertus opened this issue Oct 10, 2019 · 2 comments · Fixed by #298 or #303
Closed

Identify/Fix Bottlenecks #261

clambertus opened this issue Oct 10, 2019 · 2 comments · Fixed by #298 or #303
Labels
Lucene.Net Core up-for-grabs This issue is open to be worked on by anyone
Milestone

Comments

@clambertus
Copy link

clambertus commented Oct 10, 2019

We need some help profiling Lucene.NET to identify and/or fix any potential bottlenecks. Please make us aware of anything you find by opening a new GitHub issue or by letting us know on the dev mailing list.

JIRA link - [LUCENENET-630] created by nightowl888
@clambertus clambertus added Lucene.Net Core up-for-grabs This issue is open to be worked on by anyone labels May 5, 2020
@NightOwl888 NightOwl888 added this to the Lucene.NET 4.8.0 milestone May 7, 2020
asfgit pushed a commit that referenced this issue Jun 17, 2020
…e using AreEqual with bool. Added overloads of AreEqual that accept bool to cover the project systemically without changing tests. (#261, #295)
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 23, 2020
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 23, 2020
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 23, 2020
…rongly-typed overloads are being called to reduce boxing. (addresses apache#295, apache#261)
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 23, 2020
…ged test to utilize the J2N's ArrayEqualityComparer to optimize the speed of the test (apache#295, apache#261)
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 24, 2020
…ith J2N.Collections.ArrayEqualityComparer<T> before cascading only the failing calls to NUnit.CollectionAssert.AreEqual to generate the error message (apache#295, apache#261)
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 24, 2020
… the Assert class in the test framework instead of NUnit (apache#295, apache#261)
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 24, 2020
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 24, 2020
…s.Document: Switched to using the Assert class from the test framework instead of NUnit (apache#295, apache#261)
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 24, 2020
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 24, 2020
NightOwl888 added a commit to bongohrtech/lucenenet that referenced this issue Jun 24, 2020
@NightOwl888 NightOwl888 linked a pull request Jun 24, 2020 that will close this issue
NightOwl888 added a commit that referenced this issue Jun 24, 2020
…alls to ElementAt() and Count() LINQ (Addresses #261)
NightOwl888 added a commit that referenced this issue Jun 24, 2020
…rongly-typed overloads are being called to reduce boxing. (addresses #295, #261)
NightOwl888 added a commit that referenced this issue Jun 24, 2020
…ged test to utilize the J2N's ArrayEqualityComparer to optimize the speed of the test (#295, #261)
NightOwl888 added a commit that referenced this issue Jun 24, 2020
…ith J2N.Collections.ArrayEqualityComparer<T> before cascading only the failing calls to NUnit.CollectionAssert.AreEqual to generate the error message (#295, #261)
NightOwl888 added a commit that referenced this issue Jun 24, 2020
… the Assert class in the test framework instead of NUnit (#295, #261)
NightOwl888 added a commit that referenced this issue Jun 24, 2020
NightOwl888 added a commit that referenced this issue Jun 24, 2020
…s.Document: Switched to using the Assert class from the test framework instead of NUnit (#295, #261)
NightOwl888 added a commit that referenced this issue Jun 24, 2020
NightOwl888 added a commit that referenced this issue Jun 24, 2020
NightOwl888 added a commit that referenced this issue Jun 30, 2020
…ting Attribute interface name to Attribute class name (#295, #261)
NightOwl888 added a commit that referenced this issue Jun 30, 2020
…2Between(): Debug.Assert needs to be compiled out of the build in this case to avoid performance issues with its string formatting (#295, #261)
NightOwl888 added a commit that referenced this issue Jun 30, 2020
…ore efficiently (#295, #261). Fixes the performance of Lucene.Net.Util.Automaton.TestBasicOperations::TestEmptyLanguageConcatenate().
NightOwl888 added a commit that referenced this issue Jun 30, 2020
NightOwl888 added a commit that referenced this issue Jun 30, 2020
NightOwl888 added a commit that referenced this issue Jun 30, 2020
NightOwl888 added a commit that referenced this issue Jun 30, 2020
…ilarityName as strings so they don't have to be regenerated on each test (#261, #295)
NightOwl888 added a commit that referenced this issue Jun 30, 2020
NightOwl888 added a commit that referenced this issue Jun 30, 2020
NightOwl888 added a commit that referenced this issue Jun 30, 2020
NightOwl888 added a commit that referenced this issue Jun 30, 2020
…alues to only return the TaskMergeScheduler rarely, since it is no longer a default setting and is slowing down tests (#295, #261)
NightOwl888 added a commit that referenced this issue Jun 30, 2020
… Added some aggressive inlining, made classes static (#261)
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Jul 29, 2020
…e iterating forward instead of using .ElementAt() to iterate in reverse, which takes about 3x longer (see apache#261)
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Jul 29, 2020
… Changed from Dictionary to ConcurrentDictionary so we can delete items from the cache while forward iterating through it. (see apache#261)
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Jul 29, 2020
… method to TryGetFieldInfo() to optimize check for value (see apache#261)
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Jul 29, 2020
… uses ICollection<T>.CopyTo(), which takes precedence over the LINQ IEnumerable<T>.ToArray() extension method. Benchmarks show about a 1/3 increase in performance. (see apache#261)
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Jul 29, 2020
NightOwl888 added a commit that referenced this issue Jul 29, 2020
…e iterating forward instead of using .ElementAt() to iterate in reverse, which takes about 3x longer (see #261)
NightOwl888 added a commit that referenced this issue Jul 29, 2020
… Changed from Dictionary to ConcurrentDictionary so we can delete items from the cache while forward iterating through it. (see #261)
NightOwl888 added a commit that referenced this issue Jul 29, 2020
… method to TryGetFieldInfo() to optimize check for value (see #261)
NightOwl888 added a commit that referenced this issue Jul 29, 2020
… uses ICollection<T>.CopyTo(), which takes precedence over the LINQ IEnumerable<T>.ToArray() extension method. Benchmarks show about a 1/3 increase in performance. (see #261)
NightOwl888 added a commit that referenced this issue Jul 29, 2020
@theolivenbaum
Copy link
Contributor

Two changes from what I noticed while benchmarking Lucene: #370 and #372
Working now on a better replace for Debugging.Assert that does not depend a delegate here: #373

@NightOwl888
Copy link
Contributor

I am closing this now, as we are finding and reporting bottlenecks as specific issues, so we no longer need a general task for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lucene.Net Core up-for-grabs This issue is open to be worked on by anyone
Projects
None yet
3 participants