go-ethereum/console
Sina Mahmoodi bf693228a3
eth/tracers/js: goja tracer (#23773)
This adds a JS tracer runtime environment based on the Goja VM. The new
runtime replaces the duktape runtime, which will be removed soon.

Goja is implemented in Go and is faster for cases where the Go <-> JS
transition overhead dominates overall performance. It is faster because
duktape is written in C, and the transition cost includes the cost of using
cgo. Another reason for using Goja is that go-duktape is not maintained
anymore.

We expect the performace of JS tracing to be at least as good or better with
this change.
2022-05-18 16:34:18 +02:00
..
prompt all: use strings.EqualFold for string comparison (#24890) 2022-05-17 13:56:52 +02:00
testdata cmd, console: split off the console into a reusable package 2016-05-30 17:25:23 +03:00
bridge_test.go console: handle undefined + null in console funcs (#21160) 2020-06-02 18:06:22 +02:00
bridge.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2020-11-25 09:24:50 +01:00
console_test.go eth/tracers/js: goja tracer (#23773) 2022-05-18 16:34:18 +02:00
console.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00