-
-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linting: trailing whitespace #74
Linting: trailing whitespace #74
Conversation
It'll be awesome to add a .editorconfig with |
@WoLfulus It added: https://github.com/ice-services/moleculer/blob/master/.editorconfig#L6 |
@icebob you should install an extension on vscode to make it work. |
ec8212a
to
b5ea90e
Compare
🏁 Benchmark results📝 Moleculer common benchmarks⚡ Suite: Local call
⚡ Suite: Call with middlewares
⚡ Suite: Call with statistics & metrics
⚡ Suite: Remote call with FakeTransporter
Master detailed results{ "name": "Moleculer common benchmarks", "suites": [ { "name": "Local call", "tests": [ { "name": "broker.call (normal)", "reference": true, "stat": { "duration": 5.000784663, "cycle": 0, "count": 2742000, "avg": 0.000001823772670678337, "rps": 548313.9516659487, "percent": 0 } }, { "name": "broker.call (with params)", "fastest": true, "stat": { "duration": 4.999419735, "cycle": 0, "count": 2947000, "avg": 0.0000016964437512724805, "rps": 589468.4095773366, "percent": 7.5056375615371 } } ] }, { "name": "Call with middlewares", "tests": [ { "name": "No middlewares", "reference": true, "stat": { "duration": 5.000105367, "cycle": 0, "count": 2916000, "avg": 0.0000017147137746913579, "rps": 583187.7102521068, "percent": 0 } }, { "name": "5 middlewares", "fastest": true, "stat": { "duration": 5.000868404, "cycle": 0, "count": 3068000, "avg": 0.0000016300092581486312, "rps": 613493.4479671622, "percent": 5.196566591218897 } } ] }, { "name": "Call with statistics & metrics", "tests": [ { "name": "No statistics", "fastest": true, "reference": true, "stat": { "duration": 5.00132451, "cycle": 0, "count": 3165000, "avg": 0.000001580197317535545, "rps": 632832.3614417893, "percent": 0 } }, { "name": "With metrics", "stat": { "duration": 5.00200753, "cycle": 0, "count": 478000, "avg": 0.00001046445089958159, "rps": 95561.63143161041, "percent": -84.89937663524488 } }, { "name": "With statistics", "stat": { "duration": 5.050997049, "cycle": 0, "count": 586000, "avg": 0.0000086194488890785, "rps": 116016.6981519058, "percent": -81.66707247910274 } }, { "name": "With metrics & statistics", "stat": { "duration": 5.334921272, "cycle": 0, "count": 338000, "avg": 0.00001578379074556213, "rps": 63356.13643897087, "percent": -89.98848031497222 } } ] }, { "name": "Remote call with FakeTransporter", "tests": [ { "name": "Remote call echo.reply", "fastest": true, "stat": { "duration": 5.030913746, "cycle": 0, "count": 72000, "avg": 0.00006987380202777778, "rps": 14311.51548905923, "percent": 0 } } ] } ], "timestamp": 1502834115858, "generated": "Tue Aug 15 2017 21:55:15 GMT+0000 (UTC)", "elapsedMs": 47237 } PR detailed results{ "name": "Moleculer common benchmarks", "suites": [ { "name": "Local call", "tests": [ { "name": "broker.call (normal)", "fastest": true, "reference": true, "stat": { "duration": 5.000581211, "cycle": 0, "count": 3259000, "avg": 0.0000015343912890457196, "rps": 651724.2421403002, "percent": 0 } }, { "name": "broker.call (with params)", "stat": { "duration": 5.000681896, "cycle": 0, "count": 2996000, "avg": 0.000001669119457943925, "rps": 599118.2927265327, "percent": -8.071811053246464 } } ] }, { "name": "Call with middlewares", "tests": [ { "name": "No middlewares", "fastest": true, "reference": true, "stat": { "duration": 5.000263266, "cycle": 0, "count": 3174000, "avg": 0.0000015753822514177694, "rps": 634766.577508441, "percent": 0 } }, { "name": "5 middlewares", "stat": { "duration": 5.00046423, "cycle": 0, "count": 3066000, "avg": 0.0000016309407142857144, "rps": 613143.0721183261, "percent": -3.40652866050236 } } ] }, { "name": "Call with statistics & metrics", "tests": [ { "name": "No statistics", "fastest": true, "reference": true, "stat": { "duration": 5.000879423, "cycle": 0, "count": 3128000, "avg": 0.000001598746618606138, "rps": 625489.9859440182, "percent": 0 } }, { "name": "With metrics", "stat": { "duration": 5.004610517, "cycle": 0, "count": 476000, "avg": 0.000010513887640756302, "rps": 95112.29662789761, "percent": -84.79395373782847 } }, { "name": "With statistics", "stat": { "duration": 5.00180359, "cycle": 0, "count": 680000, "avg": 0.000007355593514705882, "rps": 135950.9600415957, "percent": -78.26488623372407 } }, { "name": "With metrics & statistics", "stat": { "duration": 5.4019927039999995, "cycle": 0, "count": 253000, "avg": 0.000021351749818181817, "rps": 46834.568993894005, "percent": -92.51233911871361 } } ] }, { "name": "Remote call with FakeTransporter", "tests": [ { "name": "Remote call echo.reply", "fastest": true, "stat": { "duration": 5.045367797, "cycle": 0, "count": 65000, "avg": 0.00007762104303076924, "rps": 12883.104387087362, "percent": 0 } } ] } ], "timestamp": 1502834218446, "generated": "Tue Aug 15 2017 21:56:58 GMT+0000 (UTC)", "elapsedMs": 47273 } |
Thanks. I will merge it after #72 |
e5fb14a
to
a7a1d78
Compare
Updated commit to fixed conflicts |
Thank you! Merged! |
This PR adds adds a linting rule that warns when there is trailing whitespace.
Running
yarn lint:fix
will fix all occurrences.I do realize this is a personal preference, let me know if you'd prefer to leave it as-is 🙂