Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion res.setHeader is so slow
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim Dickinson  
View profile  
 More options Jun 15 2012, 5:02 pm
From: Tim Dickinson <price.ti...@gmail.com>
Date: Fri, 15 Jun 2012 14:02:02 -0700 (PDT)
Local: Fri, Jun 15 2012 5:02 pm
Subject: Re: [nodejs] res.setHeader is so slow

Take a look at the source code and it will give you an idea.
https://github.com/joyent/node/blob/master/lib/http.js#L949

On Friday, June 15, 2012 3:14:35 AM UTC-4, Jason.桂林(Gui Lin) wrote:

> I found writeHead<http://nodejs.org/api/http.html#http_response_writehead_statuscode_re...> is
> much faster if there is no setHeader<http://nodejs.org/api/http.html#http_response_setheader_name_value>
>  before.

> --
> Best regards,

> 桂林 (Gui Lin)

> guileen@twitter <https://twitter.com/#!/guileen>
> 桂糊涂@weibo <http://weibo.com/guileen>
> guileen@github <https://github.com/guileen>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.