Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Releases: VKCOM/ktest

v0.7.5

09 Sep 12:46
997d2ff
Compare
Choose a tag to compare
  • bench-php: enable PHP8 JIT by default
  • bench: use ceil instead of round to calculate allocs
  • bench, bench-php: wrap benchmark methods in simple noinline functions to avoid agressive compiler optimizations
  • bench: implemented --profile flag that enables KPHP profiling

v0.7.4

05 Aug 10:34
0b05c4e
Compare
Choose a tag to compare
  • Do not pass obsolete --enable-ffi flag to KPHP
  • Copy testdata folders along with test files
  • Added benchmarks isolation

v0.7.3

16 May 08:10
Compare
Choose a tag to compare
  • Fixed flag passing for bench-ab command

v0.7.2

13 Apr 17:05
Compare
Choose a tag to compare
  • Fixed handling of additional include folders for KPHP build

v0.7.1

13 Apr 13:04
Compare
Choose a tag to compare
  • Added --benchmem flag to ktest bench command
  • Fixed progress status printing in ktest bench-vs-php command

v0.7.0

10 Mar 21:34
Compare
Choose a tag to compare
  • Added ktest compare command
  • Added kphpunit fail() support
  • ktest now works with KPHP FFI libs

v0.6.0 — Improvements in benchmarks

22 Feb 13:41
Compare
Choose a tag to compare
Pre-release

Benchmarks

Added

  • Ability to run benchmarks from namespace;

  • Check that the file name matches the class name of the benchmark inside. Otherwise, KPHP will not be able to find the class;

  • New flags for configuring KPHP run:

    • include-dirs: a list of additional directories that are passed when compiling the script using KPHP
    • disable-kphp-autoload: disables autoload for KPHP, leaving it only available for PHP

    Both flags are required for proper testing within vkcom;

  • Output in Teamcity format for benchmarks with --teamcity flag.
    This is necessary for processing the output in the plugin for PhpStorm.

Other

  • Now, if the PHP benchmark fails, it will show the PHP output with an error;
  • Disabled extra logging from sql for KPHP.

First public release

24 Aug 10:35
b4234ef
Compare
Choose a tag to compare
First public release Pre-release
Pre-release

This is a first public release of the ktest utility.

Functionality:

  • Simple PHPUnit-style tests support.
  • Good benchmarks support.
  • Built-in benchstat.

If you have any issues, please file an issue.