This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
db: | |
image: postgres:12 # CockroachDB cluster might be a better fit for production deployment | |
restart: always | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: squid-archive | |
ingest: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Attaching to subsquid-subspace_ingest_1, subsquid-subspace_gateway_1, subsquid-subspace_explorer_1, subsquid-subspace_db_1 | |
db_1 | The files belonging to this database system will be owned by user "postgres". | |
db_1 | This user must also own the server process. | |
db_1 | | |
db_1 | The database cluster will be initialized with locale "en_US.utf8". | |
db_1 | The default database encoding has accordingly been set to "UTF8". | |
db_1 | The default text search configuration will be set to "english". | |
db_1 | | |
db_1 | Data page checksums are disabled. | |
db_1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Benchmark = require('benchmark') | |
var suite = new Benchmark.Suite | |
suite | |
.add('push', function () { | |
var a = [] | |
a.push("Lorem") | |
a.push("ipsum") | |
a.push("dolor") |