Skip to content

Add a few more benchmarks distilled from a few slow examples - #1787

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_964996468
Open

Add a few more benchmarks distilled from a few slow examples#1787
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_964996468

Conversation

@copybara-service

Copy link
Copy Markdown

Add a few more benchmarks distilled from a few slow examples

(a) One has lots of short-circuit conditions in ifs plus early returns

  • this adds lots of constraints to the flow condition, though most
    of the constraints may not actually be relevant to pointers
  • the short-circuiting leads to lots of pairwise calls to joinFlowConditions
    interleaving AND and OR (not as clean for buildCNF later)
    (b) One has lots of member updates
  • TBD why slow
    (c) One has a large static array
  • related to a FIXME for doing too much Env.fork()

(a) One has lots of short-circuit conditions in ifs plus early returns
  - this adds lots of constraints to the flow condition, though most
    of the constraints may not actually be relevant to pointers
  - the short-circuiting leads to lots of pairwise calls to joinFlowConditions
    interleaving AND and OR (not as clean for buildCNF later)
(b) One has lots of member updates
  - TBD why slow
(c) One has a large static array
  - related to a FIXME for doing too much Env.fork()

PiperOrigin-RevId: 964996468
@google-cla

google-cla Bot commented Aug 15, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants