You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I've configured benchmarks in my cabal config and when I'm running stack bench, stacks builds all necessary components (including the ones needed by benchmarks) and the last line of the build process is <pkg name>: benchmarks.
I can see benchmarks output among logs and if some benchmarks fail I can see it in the terminal too. But if everything succeeds, the logs are just hidden in the cmd. Is there a way to reveal them?
The text was updated successfully, but these errors were encountered:
wdanilo
changed the title
Stack bench doesnt work when used with options --work-dir and --stack-yaml
Stack bench doesnt run any benchmarks
Mar 13, 2016
wdanilo
changed the title
Stack bench doesnt run any benchmarks
Stack benchmark output is not visible in terminal
Mar 13, 2016
If you run a single benchmark, do you get its output? It's using the same logic that's used to determine if a build log is outputted - if it's a target and the last thing executing, IIRC. I agree that this should be improved - see this issue: #426
stack bench is a bit of a rougher part of stack. I've just realized we should probably execute them sequentially: #1913
This means that they wouldn't run in parallel with other tasks, and so it's reasonable to send their output directly to the user.
Actually, I was simply wrong about #1913. So, we are actually executing tests and benchmarks sequentially. In that case, it makes sense to me to output it to the terminal by default.
Hello!
I've configured benchmarks in my cabal config and when I'm running
stack bench
, stacks builds all necessary components (including the ones needed by benchmarks) and the last line of the build process is<pkg name>: benchmarks
.I can see benchmarks output among logs and if some benchmarks fail I can see it in the terminal too. But if everything succeeds, the logs are just hidden in the cmd. Is there a way to reveal them?
The text was updated successfully, but these errors were encountered: