From 459a043226373be019494e2c1cf744872d197a03 Mon Sep 17 00:00:00 2001 From: Sad Pencil Date: Sat, 23 Feb 2019 07:18:39 +0800 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index f2b43b640d..dfd555a139 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,25 @@ ## Go Ethereum 1.8 with Timing +## Compile +Steps are the same as compiling the official Go Ethereum. + +1. Install `git`, `gcc`and `go`. +2. Run `make geth` to compile. + +## Run + +Let's say the log file is `/path/to/file.txt`. Add `timing.output` flag in the front of the argument. + +Example: + +```shell +geth --timing.output=/path/to/file.txt +``` + +```shell +geth --timing.output=/path/to/file.txt --otherarguments... +``` + ## License The go-ethereum library (i.e. all code outside of the `cmd` directory) is licensed under the