473,566 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

page is too processor intensive to render

PJ6
I thought I was clever getting my first client-side script-emitting grid
working where mousing over pops up a little menu of actions in certain
cells. It turns out that if I have a good chunk of data, say, 100 rows and 4
columns (only one of which has mouseover menus), it really boggs the
processor down, sends it to 100% for a few seconds. I don't think this would
be acceptable for production so I was hoping someone could give me some tips
on how to get the processor demand down. I could probably put paging in, but
I'd like to explore other options first - paging will become necessary later
perhaps, but I'm interested in knowing how to produce efficient HTML/script,
too.

Thanks in advance,
Paul

Nov 19 '05 #1
6 1032
Not sure I follow..
Are you saying this pegs the Server or Client CPU? Sounds like it's all
clientside events, not server.
As for if you do mean the server, during generating, it's designed to. I
mean if there is idle CPU it will use it, to speed up rendering.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"PJ6" wrote:
I thought I was clever getting my first client-side script-emitting grid
working where mousing over pops up a little menu of actions in certain
cells. It turns out that if I have a good chunk of data, say, 100 rows and 4
columns (only one of which has mouseover menus), it really boggs the
processor down, sends it to 100% for a few seconds. I don't think this would
be acceptable for production so I was hoping someone could give me some tips
on how to get the processor demand down. I could probably put paging in, but
I'd like to explore other options first - paging will become necessary later
perhaps, but I'm interested in knowing how to produce efficient HTML/script,
too.

Thanks in advance,
Paul

Nov 19 '05 #2
PJ6
Client CPU.

"Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
news:FC******** *************** ***********@mic rosoft.com...
Not sure I follow..
Are you saying this pegs the Server or Client CPU? Sounds like it's all
clientside events, not server.
As for if you do mean the server, during generating, it's designed to. I
mean if there is idle CPU it will use it, to speed up rendering.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"PJ6" wrote:
I thought I was clever getting my first client-side script-emitting grid
working where mousing over pops up a little menu of actions in certain
cells. It turns out that if I have a good chunk of data, say, 100 rows
and 4
columns (only one of which has mouseover menus), it really boggs the
processor down, sends it to 100% for a few seconds. I don't think this
would
be acceptable for production so I was hoping someone could give me some
tips
on how to get the processor demand down. I could probably put paging in,
but
I'd like to explore other options first - paging will become necessary
later
perhaps, but I'm interested in knowing how to produce efficient
HTML/script,
too.

Thanks in advance,
Paul

Nov 19 '05 #3
Not much that can be done from a serverside programming standpoint...
Still though, the client will probably only use what's available.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"PJ6" wrote:
Client CPU.

"Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
news:FC******** *************** ***********@mic rosoft.com...
Not sure I follow..
Are you saying this pegs the Server or Client CPU? Sounds like it's all
clientside events, not server.
As for if you do mean the server, during generating, it's designed to. I
mean if there is idle CPU it will use it, to speed up rendering.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"PJ6" wrote:
I thought I was clever getting my first client-side script-emitting grid
working where mousing over pops up a little menu of actions in certain
cells. It turns out that if I have a good chunk of data, say, 100 rows
and 4
columns (only one of which has mouseover menus), it really boggs the
processor down, sends it to 100% for a few seconds. I don't think this
would
be acceptable for production so I was hoping someone could give me some
tips
on how to get the processor demand down. I could probably put paging in,
but
I'd like to explore other options first - paging will become necessary
later
perhaps, but I'm interested in knowing how to produce efficient
HTML/script,
too.

Thanks in advance,
Paul


Nov 19 '05 #4
you could switch to firefox which renders tables faster, but rendering a 100
row table is cpu bound for all browsers. also a 100 row grid would have a
huge viewstate, which causes even more problems.

-- bruce (sqlwork.com)
"PJ6" <no****@nowhere .net> wrote in message
news:uP******** *******@tk2msft ngp13.phx.gbl.. .
Client CPU.

"Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
news:FC******** *************** ***********@mic rosoft.com...
Not sure I follow..
Are you saying this pegs the Server or Client CPU? Sounds like it's all
clientside events, not server.
As for if you do mean the server, during generating, it's designed to. I
mean if there is idle CPU it will use it, to speed up rendering.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"PJ6" wrote:
I thought I was clever getting my first client-side script-emitting grid
working where mousing over pops up a little menu of actions in certain
cells. It turns out that if I have a good chunk of data, say, 100 rows
and 4
columns (only one of which has mouseover menus), it really boggs the
processor down, sends it to 100% for a few seconds. I don't think this
would
be acceptable for production so I was hoping someone could give me some
tips
on how to get the processor demand down. I could probably put paging in,
but
I'd like to explore other options first - paging will become necessary
later
perhaps, but I'm interested in knowing how to produce efficient
HTML/script,
too.

Thanks in advance,
Paul


Nov 19 '05 #5
PJ6
OK... so how do I reduce the viewstate? Maybe if I disable the grid's
viewstate completely...

Paul

"Bruce Barker" <br************ ******@safeco.c om> wrote in message
news:e2******** ******@TK2MSFTN GP12.phx.gbl...
you could switch to firefox which renders tables faster, but rendering a
100 row table is cpu bound for all browsers. also a 100 row grid would
have a huge viewstate, which causes even more problems.

-- bruce (sqlwork.com)
"PJ6" <no****@nowhere .net> wrote in message
news:uP******** *******@tk2msft ngp13.phx.gbl.. .
Client CPU.

"Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
news:FC******** *************** ***********@mic rosoft.com...
Not sure I follow..
Are you saying this pegs the Server or Client CPU? Sounds like it's all
clientside events, not server.
As for if you do mean the server, during generating, it's designed to. I
mean if there is idle CPU it will use it, to speed up rendering.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"PJ6" wrote:

I thought I was clever getting my first client-side script-emitting
grid
working where mousing over pops up a little menu of actions in certain
cells. It turns out that if I have a good chunk of data, say, 100 rows
and 4
columns (only one of which has mouseover menus), it really boggs the
processor down, sends it to 100% for a few seconds. I don't think this
would
be acceptable for production so I was hoping someone could give me some
tips
on how to get the processor demand down. I could probably put paging
in, but
I'd like to explore other options first - paging will become necessary
later
perhaps, but I'm interested in knowing how to produce efficient
HTML/script,
too.

Thanks in advance,
Paul



Nov 19 '05 #6
PJ6
I removed the viewstate of the grid and its cells... the total page size
went down from 192 to 169Kb.

Guess I have more paring to do...

Paul

"Bruce Barker" <br************ ******@safeco.c om> wrote in message
news:e2******** ******@TK2MSFTN GP12.phx.gbl...
you could switch to firefox which renders tables faster, but rendering a
100 row table is cpu bound for all browsers. also a 100 row grid would
have a huge viewstate, which causes even more problems.

-- bruce (sqlwork.com)
"PJ6" <no****@nowhere .net> wrote in message
news:uP******** *******@tk2msft ngp13.phx.gbl.. .
Client CPU.

"Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
news:FC******** *************** ***********@mic rosoft.com...
Not sure I follow..
Are you saying this pegs the Server or Client CPU? Sounds like it's all
clientside events, not server.
As for if you do mean the server, during generating, it's designed to. I
mean if there is idle CPU it will use it, to speed up rendering.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"PJ6" wrote:

I thought I was clever getting my first client-side script-emitting
grid
working where mousing over pops up a little menu of actions in certain
cells. It turns out that if I have a good chunk of data, say, 100 rows
and 4
columns (only one of which has mouseover menus), it really boggs the
processor down, sends it to 100% for a few seconds. I don't think this
would
be acceptable for production so I was hoping someone could give me some
tips
on how to get the processor demand down. I could probably put paging
in, but
I'd like to explore other options first - paging will become necessary
later
perhaps, but I'm interested in knowing how to produce efficient
HTML/script,
too.

Thanks in advance,
Paul



Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3114
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application there. There is performance degradation. The usual performance of the application on MP machine is better than that of uni processor machine....
4
3773
by: tbatwork828 | last post by:
Related to my other post on Graphics.FillRectangle and a lot of page faults caused by this call... We determine that when Control.DoubleBuffer=true to avoid the flicker effect, Graphics.FillRectangle causes a lot of soft page faults - order of 700/sec and more... When Control.DoubleBuffer=false, we have no page faults at all - 0/sec. Has...
5
11030
by: Rick Spiewak | last post by:
I need to generate a "buy" button as part of an ASP.NET page - this consists of a small HTML form with hidden fields, conforming to the requirements of a merchant credit card processor. PayPal is similar. I'm succeeding in doing this by using Writer.Write to emit my HTML, at least as far as getting it to work. However, depending on where...
2
1501
by: Kairi | last post by:
Hi all I have an aspx page (not compiled) that exhibit the following behaviour every once in a while When a request for the page is made, aspnet_wp spikes up to 100%, and then after about 30 seconds or so the Page_Load method is finally invoked, and the page loads as normal This happens every 5th or 6th request for that page. Initially I...
7
2140
by: Martin | last post by:
Hi, I have a standard aspx page (form) that contains a few user controls. Upon form submission the page is validated. If validation passses then a text based email is sent. This is all working fine, however what I would like to do is sent the entire contents of the posted back page as a HTML email. Is this possible and if so could...
4
7011
by: kaiteriteri | last post by:
I have a time-consuming VB.net application that i'd like to thread over 2 processors (that's all i've got in my machine!) and, hopefully, get it done in half the time. On running, the application should create a 2nd thread and run it on the other processor (processing a distinct set of data), leaving the current thread to run and process its...
1
3722
by: Paul Ericksen | last post by:
There's been increasing talk about how much better GPUs are at math-intensive apps. GPUs today rival supercomputers of 7 years ago. Example: http://hardware.slashdot.org/article.pl?sid=06/11/09/2056233 When the people over at the Folding@Home (protein folding distributed app like SETI@Home) switched it's processing to the GPU that it...
2
2831
by: Derik | last post by:
I've got a XML file I read using a file_get_contents and turn into a simpleXML node every time index.php loads. I suspect this is causing a noticeable lag in my page-execution time. (Or the wireless where I'm working could just be ungodly slow-- which it is.) Is reading a file much more resource/processor intensive than, say, including a...
4
2377
Soniad
by: Soniad | last post by:
Hello, i am using VBScript to load xml file and creating array of xml child nodes. i am retreiving this xml file from server using "Server.mappath". i think due to this process, my asp page is loading slowly. i want to reduce page load time..any suggestions.. Regards, "D"
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.