• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

XMLSerializer Performances

I want to improve the performance of my xmlserializer.

I have two classes that uses XMLserliazer. The classes are complex but not so much.
Creating the XMLSerializer (just the new) takes 3 to 4 seconds for each class.

If i use the XmlSerializer.dll generated with sgen.exe i have no gain !! (that i do not understand).

Note : I analyse the time using ANTS profiler.

Why using XmlSerializer.dll the performance do not increase ?
Do i have to add something in my code ?

Thanks
0
eric3333
Asked:
eric3333
1 Solution
 
xberryCommented:
How did you create your XmlSerializer.dll, which commands did you use ?
You may provide some of your code, else it would be difficult to judge
with a different pair of eyes ; ))

Also from
http://msdn2.microsoft.com/en-us/library/bk3w6240(vs.80).aspx
I take there is some problems in ceratin case with sgen.exe
so you may even consider to try the there recommended
xgenplus.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now