Files
isaacs 7144be70db url: Go much faster by using Url class
V8 loves it when JavaScript pretends to be a Classic inheritance
type of language.

Before:

$ ./node benchmark/url.js
benchmarking parse() ... 1.868 sec
benchmarking format() ... 1.906 sec
benchmarking resolve("../foo/bar?baz=boom") ... 7.800 sec
benchmarking resolve("foo/bar") ... 7.099 sec
benchmarking resolve("http://nodejs.org") ... 8.403 sec
benchmarking resolve("./foo/bar?baz") ... 7.974 sec

After:

$ ./node benchmark/url.js
benchmarking parse() ... 1.769 sec
benchmarking format() ... 1.793 sec
benchmarking resolve("../foo/bar?baz=boom") ... 4.254 sec
benchmarking resolve("foo/bar") ... 3.932 sec
benchmarking resolve("http://nodejs.org") ... 4.382 sec
benchmarking resolve("./foo/bar?baz") ... 4.293 sec
2012-09-17 10:44:23 -07:00
..
2011-03-14 17:37:05 -07:00
2011-03-14 17:37:05 -07:00
2012-06-16 11:02:49 -07:00
2012-07-16 18:04:55 -07:00
2011-03-14 17:37:05 -07:00
2012-08-27 13:03:30 -07:00
2012-08-27 13:03:30 -07:00
2012-07-04 13:45:14 +02:00
2012-06-19 14:07:48 -07:00
2012-06-28 10:14:03 -07:00
2012-08-27 13:03:30 -07:00
2012-09-17 10:44:23 -07:00
2012-03-03 23:48:57 -08:00
2012-08-04 13:04:15 -07:00