All Projects → parse-community → benchmark

parse-community / benchmark

Licence: other
Parse Server Continuous Benchmark

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to benchmark

ParseCareKit
Securely synchronize any CareKit 2.1+ based app to a Parse Server Cloud. Compatible with parse-hipaa.
Stars: ✭ 28 (+33.33%)
Mutual labels:  postgres, parse-server
Parse Server
API server module for Node/Express
Stars: ✭ 19,165 (+91161.9%)
Mutual labels:  postgres, parse-server
postgres-nest-react-typescript-boilerplate
No description or website provided.
Stars: ✭ 93 (+342.86%)
Mutual labels:  postgres
stringbench
String matching algorithm benchmark
Stars: ✭ 31 (+47.62%)
Mutual labels:  benchmark
event-machine-skeleton
Dockerized skeleton for prooph software Event Machine
Stars: ✭ 34 (+61.9%)
Mutual labels:  postgres
Visual-Tracking-Development
Recent Trackers
Stars: ✭ 93 (+342.86%)
Mutual labels:  benchmark
typescript-graphql-postgres-boilerplate
Simple boilerplate integrated typescript, graphql, postgres and apollo server
Stars: ✭ 18 (-14.29%)
Mutual labels:  postgres
user-agent-parser-benchmarks
PHP User Agent Parser Benchmarks
Stars: ✭ 29 (+38.1%)
Mutual labels:  benchmark
go-perftuner
Helper tool for manual Go code optimization.
Stars: ✭ 111 (+428.57%)
Mutual labels:  benchmark
postgres
A PostgreSQL database used by Deis Workflow.
Stars: ✭ 37 (+76.19%)
Mutual labels:  postgres
text-style-transfer-benchmark
Text style transfer benchmark
Stars: ✭ 56 (+166.67%)
Mutual labels:  benchmark
gobarber-api-gostack11
API GoBarber / NodeJS / Express / Typescript / SOLID
Stars: ✭ 39 (+85.71%)
Mutual labels:  postgres
benchmark-http
No description or website provided.
Stars: ✭ 15 (-28.57%)
Mutual labels:  benchmark
www-react-postgres
A complete template for 2022 focused on around React, Postgres and various web3 integrations. You can use the template to make a website, a web application, a hybrid decentralized web application, or even a DAO.
Stars: ✭ 36 (+71.43%)
Mutual labels:  postgres
Commando
[DEPRECATED] ⚫ Commando Discord bot built on discord.js-commando.
Stars: ✭ 78 (+271.43%)
Mutual labels:  postgres
restria
Entria's REST API boilerplate
Stars: ✭ 25 (+19.05%)
Mutual labels:  postgres
godot-size-benchmarks
Benchmarks to compare Godot binary sizes with different build-time options
Stars: ✭ 36 (+71.43%)
Mutual labels:  benchmark
Data-Engineering-Projects
Personal Data Engineering Projects
Stars: ✭ 167 (+695.24%)
Mutual labels:  postgres
Parallel.GAMIT
Python wrapper to parallelize GAMIT executions
Stars: ✭ 22 (+4.76%)
Mutual labels:  postgres
relay-starter-kit
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, Material UI.
Stars: ✭ 3,513 (+16628.57%)
Mutual labels:  postgres

Parse Platform

Benchmark for Parse Server

A HTTP/1.1 benchmarking tool for Parse Server backends.

Follow on Twitter Join the conversation License Build status Backers on Open Collective Sponsors on Open Collective

Test coverage


Getting Started

Parse Benchmark is a highly configurable tool for testing Parse Server instances against different load tests.

This tool also features a trigger bot that queues merged pull requests on Parse Server repo and runs benchmarks.

The results can be view on the benchmark website.

Setup Mongodb

$ npm install -g mongodb-runner
$ mongodb-runner start

Note: If installation with -g fails due to permission problems (npm ERR! code 'EACCES'), please refer to this link.

Setup PostgreSQL

Install PostgreSQL. If you have Mac the PostgreSQL App is recommended.

$ psql -c 'create database parse_benchmark;' -U postgres
$ psql -c 'CREATE EXTENSION postgis;' -U postgres -d parse_benchmark
$ psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_benchmark

Running Benchmark

Locally

$ git clone https://github.com/parse-community/benchmark.git
$ cd benchmark
$ npm install
$ npm start

Usage

-c, --connections The number of concurrent connections to use. default: 10.
-p, --pipelining  The number of pipelined requests to use. default: 1.
-d, --duration    The number of seconds to run the autocannnon. default: 10.
-o, --output      Output to JSON file. default: result.json
-h, --help        output usage information

One to One Benchmark

You can pass in the file name of the server and benchmark to test against.

$ npm start -- test <server> <benchmark> <args>  # runs one to one benchmark test

Example: servers/mongo benchmarks/get

# 100 connections, 1 thread, run for 20 seconds
$ npm start -- test mongo get -c 100 -p 1 -d 20

All Benchmarks

$ npm start -- run <args> 

Connect to any server

This tool uses autocannon under the hood. You can pass options directly to run against any server.

The is a sample json file options.sample.json.

Learn more about options here.

$ npm start -- options <path to json> <args> 

Environment Variables

PARSE_APP_NAME: 'Parse Server Benchmark',
PARSE_APP_ID: 'app-id',
PARSE_JAVASCRIPT_KEY: 'javascript-key',
PARSE_MASTER_KEY: 'master-key',
PARSE_MOUNT_PATH: '/',
PARSE_PORT: 1337,
SERVER_URL: 'http://localhost:1337`,
DATABASE_URL: 'postgres://localhost:5432/parse_benchmark',
MONGODB_URI: 'mongodb://localhost:27017/parse_benchmark',
COLLECTION_PREFIX: 'test_',
VERBOSE: false,
CLEAR: false, # If set clears database before each test

Debugging

You can track the progress of your benchmark setting the DEBUG=1 environment variable.

You can generate detailed server logs by setting VERBOSE=1.

Roadmap

You can track the progress of this project here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].