Artifact Content
Artifact 1f0e22abb0626d265b9f5a28eff3e6aac44bca91555309acaa00242c918ab997:
- File public/riot-3.13.2/test/performance/benchmarks/mount.bench.js — part of check-in [12a9bb700d] at 2021-08-11 18:56:04 on branch trunk — Import from git Added a changelog (user: dev size: 316)
module.exports = function(suite, testName, riot) { // setup var ifTag = document.createElement('mount-tag') body.appendChild(ifTag) riot.tag('mount-tag', '<p>{ msg }</p>', function() { this.msg = 'hi' }) suite.add(testName, () => { var tag = riot.mount('mount-tag')[0] tag.update() }) }