1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-11-03 17:14:44 +00:00

improve frontend performance with large logs

frontend would furiously try to render as fast as it received data
chunks from the server. This causes a lot of extra load on the browser
renderer if the logs are large. Buffer and batch calls to rerender
to improve performance.

resolves #165
This commit is contained in:
Oliver Giles
2022-01-01 21:30:38 +13:00
parent bb087b72ee
commit efafda16ff
2 changed files with 49 additions and 22 deletions

View File

@@ -187,8 +187,8 @@
</div>
</div>
<div class="console-log">
<code v-html="log"></code>
<span v-show="job.result == 'running'" v-html="runIcon('running')" style="display: block;"></span>
<code></code>
<span v-show="!logComplete" v-html="runIcon('running')" style="display: block;"></span>
</div>
</div></template>