Skip to content

Increasing --max-block-depth results in incredibly long generation times #174

Description

@john-h-k

I am trying to use csmith to generate stress-testing files that are large (~1m lines).

Version:

csmith 2.3.0
Git version: 30dccd73b

Running

csmith --max-block-depth 5

Is fast.

Then attempting

csmith --max-block-depth 10

either takes <1s or takes 10+ minutes (has not yet finished on my computer when it hits the "slow" path).
Is this expected behaviour? (and if so, is there a better way to generate very large files with csmith?)

Activity

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

Metadata

Metadata

Assignees

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