Hi, In a Pyramid (web framework in Python) web application, I compile a C+ + library with SWIG and the program runs in 10s.
I would like to migrate the application to node.js (0.6.5) and I have put the library without change in a node-addon, that I compile with node-waf. The file wscript: def set_options(opt): opt.tool_options("compiler_cxx") def configure(conf): conf.check_tool("compiler_cxx") conf.check_tool("node_addon") def build(bld): obj = bld.new_task_gen("cxx", "shlib", "node_addon") obj.target = "serie" obj.source = "serie.cc" The program runs in 20s. Have you any idea for that slowness? That occurs on my personnal computer (mac os x snow Leopard) and also on the Webfaction server on linux (node 0.6.5 also). Greatings. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: 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 post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en