aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/assembly.js
diff options
context:
space:
mode:
authorPatrick Quist <partouf@gmail.com>2021-03-11 17:37:57 +0100
committerGitHub <noreply@github.com>2021-03-11 17:37:57 +0100
commit7edd6d40ac3b684fdb0eca3cf91e2c54b27ba231 (patch)
treec29028a92a9ba56b4fe2b3eba3c44d8603f67fb4 /lib/compilers/assembly.js
parent6ef5a9c6282dfb89755e7b21968581afdf97a6fb (diff)
downloadcompiler-explorer-7edd6d40ac3b684fdb0eca3cf91e2c54b27ba231.tar.gz
compiler-explorer-7edd6d40ac3b684fdb0eca3cf91e2c54b27ba231.zip
Time all the things (#2462)
* time executeDirect in ms * measure library download and extract time * time package download * download timings when using execution checkbox * proof of concept timing graph implementation * use vertical bars for graph * add objdump time * add timing for asm parsing * add timing graph to execution pane as well * download timings on execution pane * things
Diffstat (limited to 'lib/compilers/assembly.js')
-rw-r--r--lib/compilers/assembly.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/compilers/assembly.js b/lib/compilers/assembly.js
index fd38511b5..c1d94fb59 100644
--- a/lib/compilers/assembly.js
+++ b/lib/compilers/assembly.js
@@ -95,6 +95,8 @@ export class AssemblyCompiler extends BaseCompiler {
result.asm = objResult.stdout;
if (objResult.code !== 0) {
result.asm = '<No output: objdump returned ' + objResult.code + '>';
+ } else {
+ result.objdumpTime = objResult.execTime;
}
return result;
}