You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to get some better output like the below. This would be achieved by adding some output to a buffer for each action take in the match arm here: https://github.com/boa-dev/boa/blob/master/boa/src/vm/mod.rs#L54 then printing the whole buffer when its finished.
The code for doing this should be behind a flag or an argument and not ran by default.
For debugging purposes it would be useful to see what our stack and instructions look like at a particular time.
Our output is quite basic currently.
Running
let a = 1;
for example with "vm" feature set will give you:(
cargo run --features vm ../tests/js/test.js
)It would be good to get some better output like the below. This would be achieved by adding some output to a buffer for each action take in the match arm here: https://github.com/boa-dev/boa/blob/master/boa/src/vm/mod.rs#L54 then printing the whole buffer when its finished.
The code for doing this should be behind a flag or an argument and not ran by default.
For timing https://doc.rust-lang.org/std/time/struct.Instant.html should do the job.
Example output below
The text was updated successfully, but these errors were encountered: