Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Feb 15, 2022

This is a follow-up to commit 9237bda.

The target was improved a bit, but is still taking enormously long. See for example 4096 seconds in https://cirrus-ci.com/task/5153886888525824?logs=ci#L4451.

Most of the time is spent formatting the script. See the flamegraph: flame

Thus, I suggest to split up the formatting into a new target. This will:

  • Allow more fuzz cycles in the script target when exploring the search space with the fuzz engine
  • Hopefully allow to reduce the fuzz inputs in qa-assets without losing coverage

@maflcko maflcko added the Tests label Feb 15, 2022
@maflcko
Copy link
Member Author

maflcko commented Feb 15, 2022

Can be reviewed with --color-moved=dimmed-zebra

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fae3f17

@fanquake fanquake merged commit edc0d32 into bitcoin:master Feb 17, 2022
@maflcko maflcko deleted the 2202-fuzzFaster branch February 17, 2022 17:01
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 18, 2022
…arget

fae3f17 fuzz: Split script formatting from script fuzz target (MarcoFalke)

Pull request description:

  This is a follow-up to commit 9237bda.

  The target was improved a bit, but is still taking enormously long. See for example 4096 seconds in https://cirrus-ci.com/task/5153886888525824?logs=ci#L4451.

  Most of the time is spent formatting the script. See the flamegraph: ![flame](https://user-images.githubusercontent.com/6399679/154052491-ad868078-42e6-4d85-9c77-c2e7e8291a9f.png)

  Thus, I suggest to split up the formatting into a new target. This will:

  * Allow more fuzz cycles in the `script` target when exploring the search space with the fuzz engine
  * Hopefully allow to reduce the fuzz inputs in `qa-assets` without losing coverage

ACKs for top commit:
  fanquake:
    ACK fae3f17

Tree-SHA512: f86154b23019b7721e5dd10f54d11f4f7603d280471a396cb5256f4c460f48333318a60efe8b77fa8749a4abc67ad2631211b766fde5da70ded9fab8f904747b
@bitcoin bitcoin locked and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants