Skip to content

feat mockserver: replace absolute url with relative url in logs

the-very requested to merge github/fork/itrofimow/speedup_mockserver_a_bit into develop

Created by: itrofimow

Surprisingly constructing a url takes a lot of time: image

It can be seen that it takes basically half of all the time spent in request handling, and all it does is adding something like http://localhost:<port> to the log string, when relative url (like /my-mockserver-handler/v1/some-path?...) would do just fine

Merge request reports