I initially followed the guide here: https://docs.sourcify.dev/docs/running-server.
I encountered some issues so I'm writing this guide based off-of the original one.
- PostgreSQL 16+
- Node.js LTS
| <h1 id="evm-benchmark-results">EVM Benchmark Results</h1> | |
| <p><em>Times shown are per-execution averages from 1 internal runs per benchmark.</em></p> | |
| <table> | |
| <thead> | |
| <tr> | |
| <th>Benchmark</th> | |
| <th>Guillotine (ms)</th> | |
| <th>REVM (ms)</th> | |
| <th>ethrex (ms)</th> | |
| <th>Guillotine-Rust (ms)</th> |
I initially followed the guide here: https://docs.sourcify.dev/docs/running-server.
I encountered some issues so I'm writing this guide based off-of the original one.
Critical: when running any command, always wrap it with ~/dev/commands/command.sh in the following format:
/bin/bash ~/dev/commands/command.sh --timeout 30 <command>Examples:
/bin/bash ~/dev/commands/command.sh --timeout 30 wrangler dev/bin/bash ~/dev/commands/command.sh --timeout 30 bun dev
| import * as React from 'react' | |
| import { Porto, Mode } from 'porto' | |
| import { WebView } from 'react-native-webview' | |
| const porto = Porto.create({ | |
| mode: Mode.reactNative(), | |
| }) | |
| const injected = /* javascript */ ` | |
| (function () { |
| |
| type Node<K, V> = { | |
| key: K | |
| value: V | |
| previous: Node<K, V> | null | |
| next: Node<K, V> | null | |
| } | |
| export class InMemoryLru<Key, Value = unknown> { | |
| private readonly capacity: number | |
| private readonly map = new Map<Key, Node<Key, Value>>() |
| // ==UserScript== | |
| // @name GitHub Auto-Expand Diffs | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Automatically expands all collapsed code sections in GitHub diffs | |
| // @author You | |
| // @match https://github.com/* | |
| // @grant none | |
| // @run-at document-idle | |
| // ==/UserScript== |