From 8f3d0ca6649236434ee7a795f5a2cea114d44847 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 18 Mar 2019 21:24:12 -0400 Subject: Deprecate DENO_BUILD_MODE=release Instead use: tools/build.py --release --- website/manual.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'website') diff --git a/website/manual.md b/website/manual.md index e5104e605..8d0dacabc 100644 --- a/website/manual.md +++ b/website/manual.md @@ -176,7 +176,7 @@ Extra steps for Windows users: ./third_party/depot_tools/ninja -C target/debug # Build a release binary. -DENO_BUILD_MODE=release ./tools/build.py :deno +./tools/build.py --release deno # List executable targets. ./third_party/depot_tools/gn ls target/debug //:* --as=output --type=executable @@ -622,9 +622,8 @@ To start profiling, ```sh # Make sure we're only building release. -export DENO_BUILD_MODE=release # Build deno and V8's d8. -./tools/build.py d8 deno +./tools/build.py --release d8 deno # Start the program we want to benchmark with --prof ./target/release/deno tests/http_bench.ts --allow-net --prof & # Exercise it. -- cgit v1.2.3