Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Historical context and reasons against valid alternatives to help future discuss

Lodestar used `master` as the single target for feature branches.

![lodestar-release](docs/images/lodestar-releases.png)
![lodestar-release](docs/static/images/lodestar-releases.png)

- Main branch = `master`
- Features merged to `master`
Expand Down
4 changes: 2 additions & 2 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {themes as prismThemes} from "prism-react-renderer";
const config: Config = {
title: "Lodestar",
tagline: "TypeScript Implementation of Ethereum Consensus",
favicon: "img/favicon.ico",
favicon: "images/favicon.ico",

// Set the production url of your site here
url: "https://chainsafe.github.io/",
Expand Down Expand Up @@ -55,7 +55,7 @@ const config: Config = {
title: "Lodestar Documentation",
logo: {
alt: "Lodestar Logo",
src: "img/logo.png",
src: "images/logo.png",
},
items: [
{
Expand Down
14 changes: 7 additions & 7 deletions docs/pages/tools/flamegraphs.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ yarn dev

Then navigate in a browser to `http://localhost:8080` and begin analyzing the data.

<img src="../images/flamescope/home-screen.png" alt="flamescope home screen" width="1024"/>
<img src="../images/flamescope/time-series-view.png" alt="flamescope home screen" width="1024"/>
<img src="../images/flamescope/selecting-series.png" alt="flamescope home screen" width="1024"/>
<img src="../images/flamescope/unfiltered-flamegraph.png" alt="flamescope home screen" width="1024"/>
<img src="../images/flamescope/zoom-in.png" alt="flamescope home screen" width="1024"/>
![flamescope home screen](/images/flamescope/home-screen.png)
![flamescope time series view](/images/flamescope/time-series-view.png)
![flamescope selecting series](/images/flamescope/selecting-series.png)
![flamescope unfiltered flamegraph](/images/flamescope/unfiltered-flamegraph.png)
![flamescope zoom in](/images/flamescope/zoom-in.png)

## Filtering Results

Expand All @@ -124,11 +124,11 @@ sed -r -e "/( __libc_start| uv_| LazyCompile | v8::internal::| node::| Builtins_

### Unfiltered

<img src="../images/flamescope/unfiltered-flamegraph.png" alt="flamescope home screen" width="1024"/>
![flamescope unfiltered flamegraph](/images/flamescope/unfiltered-flamegraph.png)

### Filtered

<img src="../images/flamescope/filtered-flamegraph.png" alt="flamescope home screen" width="1024"/>
![flamescope filtered flamegraph](/images/flamescope/filtered-flamegraph.png)

## References

Expand Down
6 changes: 3 additions & 3 deletions docs/pages/tools/heap-dumps.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ curl -X POST http://localhost:9596/eth/v1/lodestar/write_heapdump?dirpath=/some/

It is best to analyze on a local development machine so if Lodestar is running on a cloud instance download the dump to the local environment. Open Chrome, or any Chromium based browser (the example photos were taken using Brave). In the url bar type `chrome:://inspect` to bring up the DevTools menu (in brave the url will be rewritten to `brave://inspect`).

![DevTools](../../images/heap-dumps/devtools.png)
![DevTools](/images/heap-dumps/devtools.png)

Click on the `Open dedicated DevTools for Node` link to open the node specific window and click on the `Memory` tab as shown below.

![Memory Tab](../../images/heap-dumps/memory-tab.png)
![Memory Tab](/images/heap-dumps/memory-tab.png)

Load the profile by either right clicking on the left pane or by clicking the `Load` button at the bottom.

![Load Profile](../../images/heap-dumps/load-profile.png)
![Load Profile](/images/heap-dumps/load-profile.png)

### Analyzing a `V8` heap dump

Expand Down
File renamed without changes.
File renamed without changes
1 change: 0 additions & 1 deletion scripts/prepare-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ cp -r packages/prover/README.md $DOCS_DIR/pages/lightclient-prover/prover.md
# Copy visual assets
rm -rf $DOCS_DIR/pages/assets $DOCS_DIR/pages/images
cp -r $ASSETS_DIR $DOCS_DIR/pages/assets
cp -r $DOCS_DIR/images $DOCS_DIR/pages/images