Why does Where() generate a lot of GC? #2437
Unanswered
CodingOctocat
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I'm already using Ef Core/Sqlite and it performs well, I find LiteDb using ToList, Count performs poorly and generates a lot of GC activity, I don't think there's anything wrong with my code, it's just a simple query and count. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Have you tried creating indexes? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've found that whenever the
Where()
method is called, even with the simplest of conditions, it will generate a lot of GC.My data size is about 15,000 rows.
Where():

Without Where():

Beta Was this translation helpful? Give feedback.
All reactions