Skip to content

refactor: change Python YAML parser to C Yaml parser

Pavel Kuzmenko requested to merge kpn/performance_improvements into master

На моей машине прирост ~ 10%

App start:

  • Before: 97.64309120178223
  • After: 79.27604937553406

make test-integration:

  • Before: Ran 483 tests in 544.831s
  • After: Ran 483 tests in 432.317s

make test-unit:

  • Before: Ran 64 tests in 1.666s
  • After: Ran 64 tests in 1.361s

make test-unit-pytest:

  • Before: 413 passed, 16 skipped in 27.36s
  • After: 413 passed, 16 skipped in 23.27s

Можно ускорить api заменив json на ujson https://github.com/ultrajson/ultrajson#benchmarks

Edited by Pavel Kuzmenko

Merge request reports