473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Strange performance problems..

Hi!

I am calling .NET v1.1 assembly from VS2005
and even with very simple functions the code is about 10x
slower....I am suspecting Security attribute checking for
unmanaged code...

How can I figure out what is causing the slowdown?
I was calling a very short function using dissassembly
and could not notice anything special...

Thanks!
Atmapuri
Sep 2 '06 #1
3 1022
Atmapuri,
I am afraid you'll need to provide a lot more background information on this
in order to expect any useful answers. What's the execution environment? What
kind of "very simple functions" are being called?
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Atmapuri" wrote:
Hi!

I am calling .NET v1.1 assembly from VS2005
and even with very simple functions the code is about 10x
slower....I am suspecting Security attribute checking for
unmanaged code...

How can I figure out what is causing the slowdown?
I was calling a very short function using dissassembly
and could not notice anything special...

Thanks!
Atmapuri
Sep 3 '06 #2
Hi!
I am afraid you'll need to provide a lot more background information on
this
in order to expect any useful answers. What's the execution environment?
What
kind of "very simple functions" are being called?
I used a profiler and 90% of the time is spent inside:

UnsafeNativeMehods::WaitMessage

What the heck is this?

It does not happen on VS2003...

Thanks!
Atmapuri
Sep 3 '06 #3
Hi!

I found the problem. Never measure time of the app
while it is executing within IDE... regardless of its release
or debug settings...

Thanks!
Atmapuri

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.comwrote in message
news:B7**********************************@microsof t.com...
Atmapuri,
I am afraid you'll need to provide a lot more background information on
this
in order to expect any useful answers. What's the execution environment?
What
kind of "very simple functions" are being called?
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Atmapuri" wrote:
>Hi!

I am calling .NET v1.1 assembly from VS2005
and even with very simple functions the code is about 10x
slower....I am suspecting Security attribute checking for
unmanaged code...

How can I figure out what is causing the slowdown?
I was calling a very short function using dissassembly
and could not notice anything special...

Thanks!
Atmapuri

Sep 3 '06 #4

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

Similar topics

1
by: Chris Roe | last post by:
We have run into a problem with a few of our clients running Intel Pentium 4 (no hyperthreading) processors. Our web application under tomcat runs 20 - 30% slower on Intel (benchmarks scores are...
2
by: jfixsen | last post by:
Hello! Oracle 9.2.0.4 SunOS pchi-db01 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-EnterpriseSystem = SunOS Node = pchi-db01 Release = 5.8 KernelID = Generic_108528-19 Machine = sun4u...
3
by: FrankEsser | last post by:
Hello! I am not an expert on C++ programming and therefor I have a question: We use a kind of communication server that was written in C++ especially for our company. It just takes incoming...
5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
24
by: Bob Alston | last post by:
Most of my Access database implementations have been fairly small in terms of data volume and number of concurrent users. So far I haven't had performance issues to worry about. <knock on wood> ...
4
by: William Sullivan | last post by:
I have an extremely weird problem that I have no idea how to approach. I have a simple page with a search textbox and a search button. The button causes a postback, where I perform the search and...
5
by: Markus Ernst | last post by:
Hello A class that composes the output of shop-related data gets some info from the main shop class. Now I wonder whether it is faster to store the info in the output class or get it from the...
1
by: Nicholas Palmer | last post by:
Hi all, Got a question about the AspCompat=true page property. First a little background. We have an ASP.NET app that uses two COM components. The first is the Microsoft OWC 11 components and...
4
by: Kelii | last post by:
Hi all, (WinXP Pro SP2, Access 2003) I'm using Dev Ashish's fRefreshLinks function from AccessWeb (http://www.mvps.org/access/tables/tbl0009.htm) to relink tables in my front end to one of...
1
by: pemigh | last post by:
In hopes of preventing aggravation for others, here's documentation of a strange problem and its solution. I have an application on a network. One user was having trouble with reports. IT guy...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...

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.