You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not have any other projects with over 1000 examples to test this on unfortunately. I've looked at the changes from 0.10.0 and i'm not entirely sure what is causing this.
Has anyone noticed any slowdown as well?
The text was updated successfully, but these errors were encountered:
Ran into the same issue today, specs slowing down from 5 to 13 minutes.
I managed to resolve it with a little patch, might be useful for somebody else:
module JsonMatchers
class Matcher
def initialize(schema_path)
@schema_path = schema_path
# prevent reloading document_store for every instance, ref: https://github.com/thoughtbot/json_matchers/issues/101
@@document_store ||= build_and_populate_document_store
@document_store = @@document_store
end
end
end
After updating from
0.10.0
to0.11.1
I noticed my specs slowing down from 1 minute to 1.5 minutes. I've done some profiling to verify this:0.10.0 - rubyprof
0.11.1 - rubyprof
I do not have any other projects with over 1000 examples to test this on unfortunately. I've looked at the changes from
0.10.0
and i'm not entirely sure what is causing this.Has anyone noticed any slowdown as well?
The text was updated successfully, but these errors were encountered: