Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Split into non-visual runner and visual reporter elements #6

Open
hastebrot opened this issue Sep 14, 2017 · 0 comments
Open

Split into non-visual runner and visual reporter elements #6

hastebrot opened this issue Sep 14, 2017 · 0 comments

Comments

@hastebrot
Copy link

hastebrot commented Sep 14, 2017

Introduce <perf-runner> (non-visual) and <perf-reporter> (visual). The runner should report results of the on-going performance test via attributes and/or events to the reporter.

<perf-tester></perf-tester>
<script>
addEventListener('WebComponentsReady', function() {
document.querySelector('perf-tester').tests = [
'a.html',
'input.html'
];
});

I wonder why the current <perf-tester> puts the results using string concatenation instead of templates into the text content. Is this to have a plain web-component (without Polymer's template stamps), or to not falsify the timing results?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant