Is there a way to make Dataview's dv.view() function run faster?

After some experimentation, I stumbled upon a solution to this issue. This may not satisfy every use case, but I’m very happy with it.

let path = "filepath to JS file"

// Slow Method
await dv.view(path);

// Fast Method
let content = await dv.io.load(path);
dv.executeJs(content);