A comparison between Folks and ASP.NET Ajax

A small benchmark of Folks performance against ASP.NET Ajax. 

Scenario
Population a GridView with a specific number of Person { Name, Email } items.

Configuration
Running on Centrino Duo 1,67, 1GB RAM on Windows XP Pro SP2, Firefox 2 with Firebug (used to collect the response), IE6 with Fiddler to collect responses' size. The Web Form developed contains a TextBox, a Button and a GridView. The GridView was configured to show 100 records, others only with pagination (what isn't covered here).

Data
The data collected was the response (including client response) in milliseconds and payload for populate a GridView with 10, 100, 1k, 10k and 100k of items.

Result
The result is shown below (Response Time in milliseconds):

Items Response (ms) Bytes Sent Bytes Received
Folks ASP.NET Ajax Folks ASP.NET Ajax Folks ASP.NET Ajax
10 15 31 1.937 1.959 4.012 4.394
100 32 109 1.938 1.960 30.688 30.893
1000 31 281 9.297 9.323 31.785 31.984
10000 46 203 9.354 9.384 31.891 32.090
100000 140 281 9.373 9.387 31.896 32.095

Conclusion
As a basic benchmark, Folks shown to be faster in all cases. If you have a comparison idea, please tell us commenting this post.

kick it on DotNetKicks.com

Published Wednesday, February 13, 2008 12:34 PM by edurdias
Filed under: , , , ,

Comments

# A comparison between Folks and ASP.NET Ajax

Wednesday, February 13, 2008 10:41 AM by DotNetKicks.com

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# re: A comparison between Folks and ASP.NET Ajax

Wednesday, February 13, 2008 10:53 AM by AndrewSeven

When I choose GridView, I do it for the features, not for speed considerations.

How easily will you be able to add paging, sorting, and a delete button with a server side handler.

# re: A comparison between Folks and ASP.NET Ajax

Wednesday, February 13, 2008 11:44 AM by edurdias

Hi Andrew,

I choose the GridView exactly by features. This benchmark has a GridView with paging associated to an ObjectDataSource. The paging was not computed here, but I can test it too. :D

# re: A comparison between Folks and ASP.NET Ajax

Wednesday, February 13, 2008 12:40 PM by AndrewSeven

Are you saying that both versions are working on the html that is generated by an asp:GridView ?

1000 records is probably more than a user will want on a page.

You might want to show some data related to the effort of  implementing each approach.

# re: A comparison between Folks and ASP.NET Ajax

Wednesday, February 13, 2008 1:04 PM by edurdias

I agree with you that 1k records is more than an user want in a GridView.

Both versions work with the GridView generated response. The  GridView has the PageSize property limited to 100 records, creating the paging.

The response time is relative to fire the PostBack, Create the result list with the respective length by ObjectDataSource and render the GridView with Paging if necessary.

I wanna show only the reponse time of logic processing in both frameworks.

Hope be more clear. :D

# re: A comparison between Folks and ASP.NET Ajax

Thursday, February 14, 2008 9:40 AM by Bart Czernicki

A real good test would be how much is the AJAX payload vs. the Folks payload.  That is a huge drag on first time loads especially when IIS compression is off.

Seeing a stat like this is nice, however I remember seeing things like this for MySQL vs. SQL Server where math operations where 1,000 faster than SQL Server 2000 (this was 2002 or so).  However, MySQL was about 1/10 of the features SQL2000 did and was slower in most of the other areas.

# re: A comparison between Folks and ASP.NET Ajax

Thursday, February 14, 2008 12:01 PM by edurdias

Hi Bart,

I agree with you that ASP.NET Ajax has a lot of features that Folks don't. But the main focus of Folks is to be simple and small.

Very good idea. This test was made with Firebug reports. I'll be posting the Fiddler payload report soon.

# re: A comparison between Folks and ASP.NET Ajax

Friday, February 15, 2008 12:21 AM by DudeSP

Once Folks becomes more than alpha software run these tests again.  

I'm sure adding features will take the wind out of its sales.

# re: A comparison between Folks and ASP.NET Ajax

Friday, February 15, 2008 1:04 PM by Bad Speller

I meant sails...

# Folks - A small, simple and fast Ajax framework.

Monday, March 10, 2008 2:05 PM by Eduardo Dias

The Folks Ajax Framework provides a clean, easy and fast way to build Ajax enabled web applications in

Leave a Comment

(required) 
(required) 
(optional)
(required)