takashi-ishio / selogger

(Near-)omniscient debugging/tracing/logging tool for Java
Other
35 stars 8 forks source link

format=omni becomes too slow for a test case #19

Closed takashi-ishio closed 2 years ago

takashi-ishio commented 2 years ago

defects4j test does not finish for Mockito-2b in a practical time because test/org/mockitousage/performance/StubOnlyAvoidMemoryConsumptionTest.java takes too much time. This problem is observed only when format=omni is specified. The problem is not observed for format=nearomni and format=freq.

takashi-ishio commented 2 years ago

This problem is probably caused by large strings. image

takashi-ishio commented 2 years ago

The test case caused too many exceptions, an internal buffer of StringFIleListStream could not accept the string contents. As a result, execution traces missed some exception data.