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 6 1023
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
Client CPU.
"Curt_C [MVP]" <software_at_darkfalz.com> wrote in message
news:FC**********************************@microsof t.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
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_darkfalz.com> wrote in message news:FC**********************************@microsof t.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
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***************@tk2msftngp13.phx.gbl... Client CPU.
"Curt_C [MVP]" <software_at_darkfalz.com> wrote in message news:FC**********************************@microsof t.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
OK... so how do I reduce the viewstate? Maybe if I disable the grid's
viewstate completely...
Paul
"Bruce Barker" <br******************@safeco.com> wrote in message
news:e2**************@TK2MSFTNGP12.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***************@tk2msftngp13.phx.gbl... Client CPU.
"Curt_C [MVP]" <software_at_darkfalz.com> wrote in message news:FC**********************************@microsof t.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
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.com> wrote in message
news:e2**************@TK2MSFTNGP12.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***************@tk2msftngp13.phx.gbl... Client CPU.
"Curt_C [MVP]" <software_at_darkfalz.com> wrote in message news:FC**********************************@microsof t.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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,...
|
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...
|
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...
|
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...
| |
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...
|
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:...
|
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...
|
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...
|
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
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...
|
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,...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |