-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evm t8n is extremely slow #5229
Comments
Java has a huge startup penalty, to JIT all the java classes. To address this I am working on getting GraalVM builds of the evmtool - #5192 |
ethereumjs implemented t8n as a service. they start it once and then listener accept http requests and writes response with t8n format to the filesystem |
That can be done too. Can you point me to their interface requirements or what retesteth will need interface wise? |
this is how I start the daemon
stop
and run a t8n request:
Basically all the t8n flags go as $1 $2 args to the daemon. |
so are there only 2 args or are they quoted or newlined? |
it will look like this if to open ${} bash args
|
So all inputs and outputs will be via files, and there is no streaming output from the HTTP, it's just CLI args one test per line? |
in this case yes. |
Hey @shemnon - any ideas on what to do with this ticket? or tracking progress in a PR elsewhere? |
When you have time would be nice to have smth like ethereumjs do. Starting t8n as a daemon accepting requests without class reload. |
I see besu t8n fails some tests for sure. but I can't check it all without the speed/daemon optimization. |
I can't batch execute tests on besu's evm cause it takes too long time. been running the whole day not even half the state tests finished.
is it because besu java is slow on deployment for each individual test?
in rpc mode was fast.
The text was updated successfully, but these errors were encountered: