DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 637 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

17
kicks
published 5 months, 14 days ago, submitted by dnk2007 5 months, 14 days ago

blogs.lessthandot.com — A 5 part blogpost about the performance of a select statement done with ADO.Net using inline sql, and stored procedures (even some dynamic sql) and then nHibernate to get the same results. But this one has an alternate ending.

Add a comment 6 comments | category: | Views: 368 | Get KickIt image code
tags: , | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
Total FAIL on the nHibernate code. Classic mistake of someone who doesn't know anything about nHibernate. NHib has 1st level caching and so it's not appropriate to put it into a tight loop without either first disabling the cache or clearing the cache every few loop iterations.
posted by chadmyers 5 months, 14 days ago
Like I said that wasn't the point of the exercise to make it quick.

But with your help we can make it quicker.
posted by chrissie1 5 months, 13 days ago
I remember a similair post few weeks ago. It also made the same mistake as mentioned by chadmeyers. I do wonder what people are trying to prove with these tests... When comparing sprocs,sql with or mappers they always tend to forget that NHibernate does much more then just performing selects and crud actions.
posted by JjVv 5 months, 13 days ago
Well JjVv, I think you should read the conclussion first then, I don't care about the numbers. But people keep reading the numbers and then draw there own conclusions. I wonder why?
posted by chrissie1 5 months, 13 days ago
they read the numbers and draw their own conclusions because you put the numbers out there. (which we know need serious tuning) .....

you tested a non realistic use case.... you blogged it as a performance test....you did it without expert knowledge of each tool (or of VB.Net it appears) and you then conclude that the results don't matter? That doesn't fly... the point of such a test is that for whatever reason you care about the results. Otherwise the test and the process are pointless.

you didn't care about the results... so you should never have executed the experiment... but thanks for putting more fuel out there for the anti ORM folks. just because you post some data doesn't mean it won't be used out of context.
posted by ang3lfir3 5 months, 13 days ago
Yep, I can prove anything with numbers it's called statistics. I can prove the exact oposite if I need too. But do I really have to? If you can't draw your own conclusions then you shouldn't be reading the post.

And what people think about my coding capabilities doesn't bother me one bit.

Oh well, I knew this was going to happen. But we live in a free world.
posted by chrissie1 5 months, 13 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads by The Lounge