Click here to Skip to main content
15,884,537 members
Home / Discussions / C#
   

C#

 
QuestionSerialization and ViewState Pin
Fayu22-Apr-09 7:11
Fayu22-Apr-09 7:11 
AnswerRe: Serialization and ViewState Pin
Fayu22-Apr-09 7:25
Fayu22-Apr-09 7:25 
GeneralRe: Serialization and ViewState Pin
OriginalGriff22-Apr-09 9:17
mveOriginalGriff22-Apr-09 9:17 
GeneralRe: Serialization and ViewState Pin
Fayu22-Apr-09 9:33
Fayu22-Apr-09 9:33 
GeneralRe: Serialization and ViewState Pin
OriginalGriff22-Apr-09 21:43
mveOriginalGriff22-Apr-09 21:43 
QuestionJust for fun - how slow are exceptions? Pin
Rob Philpott22-Apr-09 6:12
Rob Philpott22-Apr-09 6:12 
AnswerRe: Just for fun - how slow are exceptions? Pin
Eddy Vluggen22-Apr-09 6:24
professionalEddy Vluggen22-Apr-09 6:24 
GeneralRe: Just for fun - how slow are exceptions? Pin
Rob Philpott22-Apr-09 6:38
Rob Philpott22-Apr-09 6:38 
That's a good guess! But as Luc points out below, I haven't really done this correctly. Within Visual Studio in debug, I can throw 370 a second before the process dries out so about 2-3ms per exception.

Outside the VS debugger, its much, much faster. 1000 exceptions take 17ms to run, so all in all, its nowhere near as bad as I thought.

Regards,
Rob Philpott.

GeneralRe: Just for fun - how slow are exceptions? Pin
Eddy Vluggen22-Apr-09 6:45
professionalEddy Vluggen22-Apr-09 6:45 
GeneralRe: Just for fun - how slow are exceptions? Pin
Luc Pattyn22-Apr-09 6:46
sitebuilderLuc Pattyn22-Apr-09 6:46 
GeneralRe: Just for fun - how slow are exceptions? Pin
Rob Philpott22-Apr-09 6:50
Rob Philpott22-Apr-09 6:50 
GeneralRe: Just for fun - how slow are exceptions? Pin
Luc Pattyn22-Apr-09 6:54
sitebuilderLuc Pattyn22-Apr-09 6:54 
AnswerRe: Just for fun - how slow are exceptions? Pin
Luc Pattyn22-Apr-09 6:31
sitebuilderLuc Pattyn22-Apr-09 6:31 
GeneralRe: Just for fun - how slow are exceptions? Pin
Rob Philpott22-Apr-09 6:33
Rob Philpott22-Apr-09 6:33 
GeneralRe: Just for fun - how slow are exceptions? Pin
Rob Philpott22-Apr-09 6:41
Rob Philpott22-Apr-09 6:41 
GeneralRe: Just for fun - how slow are exceptions? Pin
Skymir23-Apr-09 2:58
Skymir23-Apr-09 2:58 
AnswerRe: Just for fun - how slow are exceptions? Pin
Colin Angus Mackay22-Apr-09 6:36
Colin Angus Mackay22-Apr-09 6:36 
GeneralRe: Just for fun - how slow are exceptions? Pin
Rob Philpott22-Apr-09 6:38
Rob Philpott22-Apr-09 6:38 
GeneralRe: Just for fun - how slow are exceptions? Pin
Luc Pattyn22-Apr-09 6:42
sitebuilderLuc Pattyn22-Apr-09 6:42 
GeneralRe: Just for fun - how slow are exceptions? Pin
Rob Philpott22-Apr-09 6:51
Rob Philpott22-Apr-09 6:51 
QuestionSQL SCRIPT Pin
kibromg22-Apr-09 4:43
kibromg22-Apr-09 4:43 
AnswerRe: SQL SCRIPT Pin
Henry Minute22-Apr-09 5:13
Henry Minute22-Apr-09 5:13 
GeneralRe: SQL SCRIPT Pin
kibromg22-Apr-09 5:23
kibromg22-Apr-09 5:23 
GeneralRe: SQL SCRIPT Pin
Dave Kreskowiak22-Apr-09 6:49
mveDave Kreskowiak22-Apr-09 6:49 
GeneralRe: SQL SCRIPT Pin
Henry Minute22-Apr-09 7:49
Henry Minute22-Apr-09 7:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.