Threading speed

  • Thread starter Thread starter Stefan
  • Start date Start date
S

Stefan

Hi.

Is really threading in .net so slow. I'm a mfc programmer that have stared
to write code in managed c++. I have compared thread loops in mfc with .net,
and .net loops seems to be extremely slow. I just increment a value, and
while mfc is upp at 1300000incs, .net loop has reached 4054. Am I missing
something here or is this the fakt...

Steffo
 
Stefan wrote:
Is really threading in .net so slow. I'm a mfc programmer that have stared
to write code in managed c++. I have compared thread loops in mfc with .net,
and .net loops seems to be extremely slow. I just increment a value, and
while mfc is upp at 1300000incs, .net loop has reached 4054. Am I missing
something here or is this the fakt...
<snip>

You need to post your code, there could be a million things wrong with
your example that skews the results.
 
Post your code, folk in here are quite eager to test your claim
 
Is really threading in .net so slow. I'm a mfc programmer that have stared
to write code in managed c++. I have compared thread loops in mfc with .net,
and .net loops seems to be extremely slow. I just increment a value, and
while mfc is upp at 1300000incs, .net loop has reached 4054. Am I missing
something here or is this the fakt...

I suspect your benchmarking methodology is flawed. Without seeing the
code, it's impossible to tell, of course.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top