Re: [nodejs] performance issue with express-validator
On Sun, Aug 9, 2015 at 2:27 PM, Sebastian M Cheung < minsche...@googlemail.com> wrote: > After adding express-validator, the app slows down dramatically: why is > that? > One would assume, because node-validator is slow. I'm not sure what other answer you could expect... What level of slow down are you experiencing? -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAPJ5V2bp6eoMywQKcixgUq3RabWzoXQXz8%2BpjTifp6-OLsc8zw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[nodejs] performance issue with express-validator
After adding express-validator, the app slows down dramatically: why is that? // mongoose config require('./database'); var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); //var expressValidator = require('express-validator'); var routes = require('./routes/index'); var users = require('./routes/users'); var form = require('./routes/form'); var app = express(); // view engine setup app.set('views', path.join(__dirname, 'views')); app.set('view engine', 'jade'); // uncomment after placing your favicon in /public //app.use(favicon(__dirname + '/public/favicon.ico')); app.use(logger('dev')); app.use(bodyParser.json()); //app.use(expressValidator); -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/4e2c28db-9d32-42a1-8628-d876c5a77387%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.