Today I finaly had some time to sacrifice to finding why my application was slow at startup (around 30 seconds). So I opened up JetBrains’s dotTrace and went to work. In less then half an hour I shaved at least 10 seconds of the startup time. So here is the first profiler screenshot. Here we can see that the main method takes 20 seconds to run and that resolve<T> takes the most time.
This is an archive of the posts published to LessThanDot from 2008 to 2018, over a decade of useful content. While we're no longer adding new content, we still receive a lot of visitors and wanted to make sure the content didn't disappear forever.
Life can be so simple sometimes but you just have to think about it. I found it very cool when [Sean Feldman][1] posted this [CategoryAttribute][2]. Yeah I know the title doesn’t say everything and the post iskinda short but very sweet to me. More DRYness to play with. Now let me translate his post into VB.Net. How not to do it. <Category("Integration")> _ How to do it. <Category(Categories.Integration)> _``` where Categories is a sealed class with constants ```vbnet Namespace NUnitCategories Public NotInheritable Class Categories Public Const Integration As String = "Integration" End Class End Namespace``` [1]: http://weblogs.asp.net/sfeldman/default.aspx [2]: http://weblogs.asp.net/sfeldman/archive/2009/05/07/categoryattribute.aspx
Today there were some PostgreSQL announcements, these announcements are below pgAdmin v1.10.0 Beta 3 is now available pgAdmin v1.10.0 Beta 3 is now available for testing in source, Windows and Mac OS X distributions from: http://www.postgresql.org/ftp/pgadmin3/release/v1.10.0-beta3/ New version of PostgreSQL 8.3 Live CD released PostgreSQL live CD, which is based on Fedora 10. The major change is PostgreSQL 8.3.7 . It includes the PostgreSQL related packages that built on http://yum.pgsqlrpms.org . This new version includes
One of the must have tools for any DBA that has one or multiple SSRS instances of SSRS running, is the RSScripter tool written by Jasper Smith. I can’t say enough about how critical this tool has been to my success in administrating and successfully providing a 100% report uptime goal. There are several key tasks this tool accomplishes for me without much more time consuming scripting projects. Without them it would be a painstaking task to accomplish backing up SSRS and shipping offsite.
Ok so here is how NHProf has helped me solve a problem. This one in particular is a [Select N+1][1] problem which means is that you are executing the same select several times in one session which usualy means you are doing something wrong. First up the code. When doing a find all on a class called Fibergroup I get this as a result from [NHProf][2]. What we see is that there is one select tbl_fibergroup and then then a select on fiberclass and several selects on fibersubclass. As a matter of fact fiberclass is a collection in fibergroup and fibersubclass is a collection in fiberclass.
I recently built a new PC, and I needed to get a 64 bit operating system. I had a copy of Server 2008 sitting around from MSDN, so I thought why not use that? If I did, I could run Hyper-V and some of the other cool server gadgets, and the tradeoff in user experience would be minimal. With some guidance from a friend I soon realized that I could do this with no sacrifice in the user experience at all.
This is the second time that I went to the Enterprise Developer Conference. Due to the downturn Microsoft merged the financial and health/live sciences conferences into one. Last years main focus was High Computing, this years main focus was……tada…..drumroll…..Cloud Computing. No big surprise of course. There were always 5 sessions at the same time so I can only report on the ones that I attended. The SQL Server Data Services session was in my opinion the best one but then again I am biased. You can actually watch all the session at the following site entdevcon.com Right now only the day 1 sessions are up there
As a user of nHibernate it was about time I got to check out [NHProf][1]. NHProf is a profiler for nHibernate applications. In other words you can see what SQL nHinernate is producing and it also gives alerts for parts that have suspect code in it. First of course I had to download the package you can have a 30 day trail to go so you can test it on your application. I just bought it. Let’s not forget that this is still in Beta so because of that you get a discount for when the full version comes out.
Today I noticed that my integration tests with nhibernate were runnning very slow on the build server. Very slow meaning 1 hour to run while they run for 6 minutes on my dev machine all 840 of them. Something was different. I am using Finalbuilder 5.5 on my build machine and that uses the nunit console to do the dirty work for it. So I tried running it in the nuint gui tool and there too it was slow.
Time for a short post. A couple of weeks ago I made A windows server 2003 VM for VMWare on my VMWare Workstation 6.5. Nothing very difficult, jst download the image from MSDN mount the image in something lik Virutal clonedrive and start installing. Everything worked just fine, installing was a breeze. But it kept crashing on me. SOmetimes it would run for a day sometimes for a few hours other times for a couple of days. Very weird. Nothing in the log files, nothing on goolge that made sense. And it crashed really hard too. Reboot kinda of hard. No I won’t let you kill the process kinda of hard. And the symptom is a black VMWare tab/screen, all the other tabs work just fine, the OS keeps working too. But no more reaction of it.