Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-18336

Improve jmh tests on ACL in AuthorizerBenchmark and StandardAuthorizerUpdateBenchmark

    XMLWordPrintableJSON

Details

    • Test
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • system tests
    • None

    Description

      Now AuthorizerBenchmark benchmarks don't return result and result doesn't wrap in Blackhole.

      Compiler can eliminate returned value and benchmark would be incorrect

       

      StandardAuthorizerUpdateBenchmark has a big error
      For example
      Benchmark                                                                            (aclCount)  Mode  Cnt  Score   Error  Units
      StandardAuthorizerUpdateBenchmark.testAddAcl       25000  avgt   10  5.425 ± 1.723  ms/op

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              evkuvardin Evgeny Kuvardin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: