Replies: 19 comments 36 replies
-
What are you trying to achieve with Can you describe your use case in more detail? |
Beta Was this translation helpful? Give feedback.
-
I thought |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
In many cases it's just as useful to try reducing code that ran as everything else, so I can't really think of a good argument in favor of that. |
Beta Was this translation helpful? Give feedback.
-
Btw, my dustmite reduction takes too long time reducing packages. What strategy should I try then? |
Beta Was this translation helpful? Give feedback.
-
Have you tried |
Beta Was this translation helpful? Give feedback.
-
Now. I'll try that. Can I abort a DustMite with Ctrl-C and then use the the result as input to a new dustmite? |
Beta Was this translation helpful? Give feedback.
-
Of course (assuming you didn't use |
Beta Was this translation helpful? Give feedback.
-
I first needed dlang/dub#2173. |
Beta Was this translation helpful? Give feedback.
-
Btw, does dustmite utilize all the cores when checking if a set of tried splits succeeds in create a program the compiles? And does |
Beta Was this translation helpful? Give feedback.
-
Btw, at https://dlang.org/blog/2020/04/13/dustmite-the-general-purpose-data-reduction-tool/ I read "The parser DustMite uses for D source code is intentionally very simple because it needs to handle potentially invalid D code, and you don’t want your bug reduction tool to also crash on top of the compiler." ? If the compilation always passes after every reduction why does parser need to handle invalid D code? And what is meant by invalid code in this case |
Beta Was this translation helpful? Give feedback.
-
Btw, is there a node deletion history written to disk during the call to DustMite? |
Beta Was this translation helpful? Give feedback.
-
I didn't understand that beyond "all cores". You can ask DustMite to use all cores by using the No idea about the Dub side. |
Beta Was this translation helpful? Give feedback.
-
It doesn't know that. You might be reducing a bug where compilation fails due to the bug you're trying to create a test case for. |
Beta Was this translation helpful? Give feedback.
-
There is |
Beta Was this translation helpful? Give feedback.
-
Ahh, I misinterpreted -j[N] Use N look-ahead processes (48 by default) as using 48 cores when even I don't specify |
Beta Was this translation helpful? Give feedback.
-
According to my measurements my Would it be possible for you to experiment with running I'm currently using dub dustmite -c it -b unittest --compiler=ldc2 --program-status=1 --program-regex='stack-buffer-overflow' --no-redirect -j32 --strategy=careful OUTPUT_DIR -- -s -d as the error is triggered in unit-threaded unittest execution. |
Beta Was this translation helpful? Give feedback.
-
Btw, have you seen creduce having activity as recent as 21 of June 2021. |
Beta Was this translation helpful? Give feedback.
-
Moreover I believe the docs should provide a link to https://en.wikipedia.org/wiki/Delta_debugging and possibly also https://news.ycombinator.com/item?id=22855633. |
Beta Was this translation helpful? Give feedback.
-
There is already
. Why doesn't
dub dustmite
generate new coverage information "at each call" todub run
and use that vialoadCoverage
when deciding which code to remove prior to subsequent call?!!! Wouldn't this enable amazingly faster reduction speed for D especially in the reduction of dependencies.I guess most of this logic should be implemented in
dub
.Ping, @CyberShadow.
See https://github.com/CyberShadow/DustMite/blob/master/dustmite.d#L2405
Beta Was this translation helpful? Give feedback.
All reactions