Some people have mentioned that memcpy and memmove functions are hot
when profiling some WebAssembly benchmarks. Some examples:
I've been looking at perf profiles for wasm unity benchmark a bit recently and see that some
| ;; Convert this to add.wasm by running: | |
| ;; | |
| ;; wat2wasm add.wat -o add.wasm | |
| ;; | |
| (module | |
| (func (export "add") (param i32 i32) (result i32) | |
| get_local 0 | |
| get_local 1 | |
| i32.add)) |
Some people have mentioned that memcpy and memmove functions are hot
when profiling some WebAssembly benchmarks. Some examples:
I've been looking at perf profiles for wasm unity benchmark a bit recently and see that some
| int doubler(int x) { | |
| return 2 * x; | |
| } |
| class Register { | |
| constructor() { | |
| this.routes = [] | |
| } | |
| regist(obj, k, fn) { | |
| const _i = this.routes.find(function(el) { | |
| if((el.key === k || el.key.toString() === k.toString()) | |
| && Object.is(el.obj, obj)) { | |
| return el |
| var ko = require('knockout'); | |
| ko.components.register('simple-name', require('./components/simple-name/simple-name.js')); | |
| ko.applyBindings({ userName: ko.observable() }); |
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git$ nano ~/.zshrcpath=('/path/to/depot_tools' $path)