load

ASP.NET Page calls an additional aspx page after loading

To keep things simple, we have a few aspx pages... Page1.aspx - resets Session information. Page2.aspx - Search form with results and sets Session variables. Page3.aspx, Page4.aspx, Page5.aspx - require Session variables set on Page2.aspx What we're finding is that as Page2.aspx loads and setting the Session variables, Page1.aspx is ...

Can .NET load and parse a properties file equivalent to Java Properties class?

Is there an easy way in C# to read a properties file that has each property on a separate line followed by an equals sign and the value, such as the following: ServerName=prod-srv1 Port=8888 CustomProperty=Any value In Java, the Properties class handles this parsing easily: Properties myProperties=new Properties(); FileInputStream fi...

open source Tool for stress testing, load testing and performance testing

Possible Duplicate: How do you stress test a web application? Currently I have configured a project with cc.net, watin and nunit and now I want to do stress, load, and performance testing of my .net projects. Any idea which opensource tool should I use or cani achive it with same working tools and if yes then how? ...

What are the benefits of maintaining a “clean” list of assembly references?

Just like Carl's question over here I would like to ask you (because I couldn't find it out on my own :( ) if there is any benefit by removing an assembly reference that is not statically nor dynamically (via reflection for example) used. ...

Images not loading in jQuery

Dear all I am using jQuery . test.html contains images and Text. Now I need to load using test.html <img src="../images/lib.jpg" alt="test" width="320" height="290" /> <p>Textt </p> JQuery $("#content2").load("sub_test.html"); The Result of Content2 didn't display the images. ...

How do I 'load data' with multiple tables?

I have three tables. For simplicity let's say they are: tbl1, tbl2, tbl3 both tbl2, and tbl3 have f-keys linking to tbl1 I am using 'load data infile...' as I really need the +16,000 writes/second I am getting right now with it. I don't use auto-increment because I need the f-keys for my child records. So I create my txtfile on the ...

How do I add an external js file with a parameter

I want to give a minimal js code to random websites so that they can add a widget. The code needs to run after the main page loads and include a parameter with the domain name. ( I don't want to hardcode it) One option is to add this code just before the </body> (so It will run after the page loads): <script type="text/javascript" id=...

Linux display average CPU load for last week

On a Linux box, I need to display the average CPU utilisation per hour for the last week. Is that information logged somewhere? Or do I need to write a script that wakes up every 15 minutes to copy /proc/loadavg to a logfile? EDIT: I'm not allowed to use any tools other than those that come with Linux. ...

Multiple Flash objects on a single web page?

Is there any significant performance/load time impact if single web page will load, say, 10 identical flash objects? 20? 30?.. any evidential data on sustainability of such kind of setup? This would be the same flash app, each instance serving its own stream. ...

Load a BitmapSource and save using the same name in WPF -> IOException

When I try to save a BitmapSource that I loaded earlier, a System.IO.IOException is thrown stating another process is accessing that file and the filestream cannot be opened. If I only save whithout loading earlier, everything works fine. The loading code: BitmapImage image = new BitmapImage(); image.BeginInit(); image.UriSource = ur...

How can I turn off cached requests in Visual Studio load test

When running a load test I want to turn off cached requests. My web test has the Cache Control setting turned off, which is supposed to mean don't cache. However, it looks like it is caching the images etc; which I don't want. How can I do this? Thanks ...

How to hook the DOM loaded event?

Hi, Can someone point me in the direction to hook the DOM loaded event? Basically, i want to display a loader while the dom is loading (I dont mean Ajax requests- the first time a user hits a page) ? Thanks all in advance ...

Can Javascript force hidden divs to wait to load their contents? (HTML/Javascript)

I have a fairly basic thumbnail-and-view page going. As each thumbnail is clicked, the central pane shows the full-size image. This bit works fine - I'm using Javascript to show and hide the divs which contain the large images, but as the page first loads, it starts loading all of the images at the same time. This causes the first ima...

load sound dynamically in as2 having problem

hi I want to load sound placed in sounds folder. Code is var my_sound = new Sound(); my_sound.loadSound("sounds/sound1.mp3"); my_sound.onLoad = function(success:boolean){ if(success){ my_sound.start(); } } This plays sound when flash is open and pressing CTRL+ENTER(Test Movie). but when we plays the swf it won...

DLL Number and Load Performance

Suppose the overall dll size is 100M, here are the 2 cases: 100M * 1 10M * 10 Will their be much performance impact when using many small sized DLLs? why? We did a testing recently but didn't detect much performance difference between the 2 cases, I am not sure if there are some wrong steps with my testing or this is the fact. ...

Does load() retrieve an element with or without its descendants?

I made some tests with the load() command of jQuery, something like: $('').load('my.html div#content', function(){ etc. I was surprised to see that I was able to retrieve the div#content but not its child elements. When I substituted div#content by any of the child descriptors, e.g. a.opts I got the expected result - in this case, all t...

Getting system "load" on Windows

I'm looking for a way to get the current "load" (as in Unix: The number of processes which are waiting for the CPU/data) on Windows. Is that possible at all? Background: By default, Windows will tell you how much the CPU is utilized or the network traffic, RAM used, etc. From a performance point of view, this is useless. I don't care th...

How can my PHP script tell whether the server is busy?

I want to run a cron job that does cleanup that takes a lot of CPU and Mysql resources. I want it to run only if the server is not relatively busy. What is the simplest way to determine that from PHP? (for example, is there a query that returns how many queries were done in the last minute? ...) ...

sIFR load before rest of page?

Hiya, Is it possible to have sIFR "preload" or load before the rest of the page content? At present it is the last thing to load (due to the text position) and as it's quite an obvious part of the page I get a huge mash-up of text replacement all in a quick flurry which is not very appealing. It looks like the site is having an epilep...

How can I load WPFToolkit assembly in Powershell

I have installed WPF Toolkit: Location: C:\Program Files\WPF Toolkit\v3.5.40320.1\WPFToolkit.dll Name: WPFToolkit, Version=3.5.40128.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35 Type: Library I can load it by full path: [System.Reflection.Assembly]::LoadFrom("C:\Program Files\WPF Toolkit\v3.5.40320.1\WPFToolkit.dll") But c...