Skip to content

Performance regression after upgrade to 1.16.1 #607

Closed

Description

@fggarcia

Hi @antonmedv @bizywizy Benchmarking 1.16.0 and 1.16.1 i have this result.

version 1.16.0

pkg: github.com/melisource/rule-engine-api/src/api/expression
BenchmarkExprLanguage-8            72614             16105 ns/op           19614 B/op        215 allocs/op
BenchmarkExprLanguage-8            77490             15433 ns/op           19615 B/op        215 allocs/op
BenchmarkExprLanguage-8            77436             15527 ns/op           19616 B/op        215 allocs/op
BenchmarkExprLanguage-8            77794             15175 ns/op           19614 B/op        215 allocs/op
BenchmarkExprLanguage-8            77324             15553 ns/op           19615 B/op        215 allocs/op
PASS

version 1.16.1

BenchmarkExprLanguage-8             3126            333489 ns/op           19492 B/op        214 allocs/op
BenchmarkExprLanguage-8             3728            323352 ns/op           19493 B/op        214 allocs/op
BenchmarkExprLanguage-8             3729            338181 ns/op           19491 B/op        214 allocs/op
BenchmarkExprLanguage-8             3735            321381 ns/op           19494 B/op        214 allocs/op
BenchmarkExprLanguage-8             3744            322084 ns/op           19487 B/op        214 allocs/op
PASS

cpu pprof
version 1.16.0
image

version 1.16.1
image

Activity

  1. locked and limited conversation to collaborators on Mar 18, 2024
  2. converted this issue into a discussion #608 on Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions