yandex / yandex-taxi-testsuite

testsuite: microservices testing framework
MIT License
144 stars 38 forks source link

feat mockserver: replace absolute url with relative url in logs #46

Closed itrofimow closed 1 year ago

itrofimow commented 1 year ago

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