Disabling scenario evaluation in DAML Studio

Similar to questions that have been asked here: How to build dars but not include scenarios?

But I’m specifically interested in knowing whether there is a flag to switch off scenario evaluation within the IDE i.e damlc ide? I’m just wondering how expensive it is to run these tests as part of the IDE, and whether any performance might be gained by switching them off, for large projects?

My reasoning is that we’re having to spin up some sort of a ledger to do the evaluation, and I expect this to be more expensive than ‘just’ doing syntax analysis. Is that a reasonable assumption?

1 Like

There is a --scenarios=no flag that you can pass to daml ide -- to disable the scenario service. It is definitely not free, it’s a separate JVM process but in most cases typechecking is probably still your bottleneck.

1 Like