Skip to content

1.8.3

Latest
Compare
Choose a tag to compare
@RijnBuve-TomTom RijnBuve-TomTom released this 11 Jul 12:10
· 5 commits to master since this release
d33416c

Processing speed improvements:

  • Introduce caching of trace event method annotations in the Tracer.invoke() function.
  • Skip creation of a TraceEvent object if there are no event consumers. This saves us from performing an expensive
    LocalDateTime.now() call.
  • Skip retrieval of trace event method annotations for simple log function invocations, if there are no event consumers.
  • Remove string concatenations in createLogMessage() functions. Only use StringBuilder functions.
  • Change toStringRegistry to use item::javaClass.name as key, and use item::class.toString() only as fallback.
  • Skip reading item.javaClass.getMethod("toString").declaringClass in convertToStringUsingRegistry(): the
    item.toString() function of Any will anyway print the name of the class.
  • Fix execution of unit tests requiring mockk-jvm (extensions and traceevents modules): no unit test for these
    modules was being run anymore, after the 1.8.2 update.
  • Fix the IfExtensionsTest unit tests: these tests were broken by mockk 1.13.4 (due to
    mockk/mockk#1033).