Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felixge/mysql-client-benchmarks
Some benchmarks comparing mysql client library performance.
https://github.com/felixge/mysql-client-benchmarks
Last synced: 21 days ago
JSON representation
Some benchmarks comparing mysql client library performance.
- Host: GitHub
- URL: https://github.com/felixge/mysql-client-benchmarks
- Owner: felixge
- Created: 2012-06-27T18:28:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-17T18:23:05.000Z (over 12 years ago)
- Last Synced: 2024-12-18T05:44:08.580Z (25 days ago)
- Language: JavaScript
- Size: 98.6 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# MySQL client benchmark
This benchmark tries to compare the performance of different mysql clients. At
this point it only compares the performance of selecting 100k blog post rows.Benchmarks of this nature are incredibly hard, so do not conclude anything from
this without deeply analyzing## Setup
You need to set the following environment variables:
```
export MYSQL_HOST="localhost"
export MYSQL_PORT="3306"
export MYSQL_USER="your-user"
export MYSQL_PASSWORD="your-pass"
export MYSQL_DATABASE="some_db_that_exists"
```After that run `node setup.js` which will create a table with 100k random blog
post records for you.## Running the benchmarks
To run a benchmark, do:
```
./run.js benchmarks/node-mysql-2.0.0-alpha3.js
```See the benchmarks folder for available benchmarks.