All Projects → webcaetano → mongo-mysql

webcaetano / mongo-mysql

Licence: other
Mongo vs Mysql Test Performance in Nodejs

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mongo-mysql

fastapi-oidc-react
React + FastApi + Mongo - Login with Google and Azure (OIDC authorisation code flow)
Stars: ✭ 42 (-51.72%)
Mutual labels:  mongo
vertx-mongo-client
Mongo Client for Eclipse Vert.x
Stars: ✭ 54 (-37.93%)
Mutual labels:  mongo
tics
🎢 Simple self-hosted analytics ideal for Express / React Native stacks
Stars: ✭ 22 (-74.71%)
Mutual labels:  mongo
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (-78.16%)
Mutual labels:  test
server-next
😎 The next generation of RESTful API service and more for Mix Space, powered by @nestjs.
Stars: ✭ 43 (-50.57%)
Mutual labels:  mongo
google-datastore-emulator
Google Datastore Emulator wrapper to nodejs
Stars: ✭ 17 (-80.46%)
Mutual labels:  test
docker
collection of docker / docker-compose files, dind, gitlab, jenkins, mongo, mysql, oracle, rabbitmq, redis, sonarqube
Stars: ✭ 25 (-71.26%)
Mutual labels:  mongo
zent-kit
[DEPRACATED] React 组件库开发脚手架
Stars: ✭ 28 (-67.82%)
Mutual labels:  test
df data service
DataFibers Data Service
Stars: ✭ 31 (-64.37%)
Mutual labels:  mongo
mongoolia
Keep your mongoose schemas synced with Algolia
Stars: ✭ 58 (-33.33%)
Mutual labels:  mongo
cypress-angularjs-unit-test
Unit test Angularjs code using Cypress.io test runner
Stars: ✭ 23 (-73.56%)
Mutual labels:  test
cargo-testify
Watches changes in a rust project, runs test and shows friendly notification
Stars: ✭ 76 (-12.64%)
Mutual labels:  test
twilio mock
Mock Twilio gem for Ruby
Stars: ✭ 26 (-70.11%)
Mutual labels:  test
expectest
Crate provides matchers and matcher functions for unit testing.
Stars: ✭ 25 (-71.26%)
Mutual labels:  test
brutal
A code-first approach to automate the writing of unit tests.
Stars: ✭ 54 (-37.93%)
Mutual labels:  test
rasa-train-test-gha
A GitHub action to run easily rasa train and rasa test in the CIs.
Stars: ✭ 26 (-70.11%)
Mutual labels:  test
TIL
Today I Learned
Stars: ✭ 43 (-50.57%)
Mutual labels:  mongo
teuton
Infrastructure test, mainly useful for sysadmin teachers and making contests
Stars: ✭ 22 (-74.71%)
Mutual labels:  test
ngx-zombie-compiler
Fast JiT compiler for Angular testing
Stars: ✭ 15 (-82.76%)
Mutual labels:  test
system-checks
⚙ Checks and shows Linux system info - Distro name, IP, running processes and etc. Official site - system-checks.org
Stars: ✭ 35 (-59.77%)
Mutual labels:  test

Mongo Mysql Test Performance in Nodejs

Installation

git clone https://github.com/webcaetano/mongo-mysql.git
cd mongo-mysql
npm install
node index

Comparison tests made by this repo

With data size in rows numbers :

10 rows

mysql insert: 1702ms
mysql select: 11ms

mongo insert: 47ms
mongo select: 12ms

100 rows

mysql insert: 8171ms
mysql select: 10ms

mongo insert: 167ms
mongo select: 60ms

1.000 rows

mysql insert: 94813ms (1.58 minutes)
mysql select: 13ms

mongo insert: 1013ms
mongo select: 677ms

10.000 rows

mysql insert: 924695ms (15.41 minutes)
mysql select: 144ms

mongo insert: 9956ms (9.95 seconds)
mongo select: 4539ms (4.539 seconds)

@ivanpopelyshev results :

On SSD virtual server vultr.com

1000: 
mysql insert: 1214ms
mongo insert: 1401ms
mysql select: 9ms
mongo select: 326ms

10000:
mysql insert: 11557ms
mongo insert: 7751ms
mysql select: 30ms
mongo select: 2957ms

ENGINE='MyISAM' for mysql tables:

1000:
mysql insert: 361ms
mongo insert: 938ms
mysql select: 9ms
mongo select: 345ms

10000:
mysql insert: 3394ms
mongo insert: 6985ms
mysql select: 31ms
mongo select: 3080ms
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].