Performance Issues Using LLBLGen

Posts   
 
    
TrueBlue
User
Posts: 4
Joined: 16-Mar-2010
# Posted on: 26-Oct-2010 16:57:14   

We are installing a new system and are having performance issues. We are wondering if the LLBLGen company ever does analysis of a system installation of the product to make suggestions on how to improve the use thus, improving performance.

Would you be willing to look at our code?

Best Regards, TrueBlue, INC Kathy Kaiser Director, Application Services

psandler
User
Posts: 540
Joined: 22-Feb-2005
# Posted on: 26-Oct-2010 19:31:56   

I don't think the "General Chat" forum is monitored by the support team, so you may want to post this in a different forum.

Also, more details are almost certainly going to be needed. For example:

What kind of performance issues?

What steps have you taken to narrow the problem down to it being an LLBLGen issue?

Are the issues related to the database calls? The code?

Is this an existing code base that was installed on a new server, or a whole new code base being installed for the first time?

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 26-Oct-2010 21:52:58   

Correct about the forums, I'll flag it so we keep an eye on it.

Before looking at your code, we'd want a lot more detail - about installation, infrastructure, the actual issues, bottlenecks etc...

If you can let us have some more information we can start offering sime suggestions.

If we can't find a resolution using the support forums, the members of the support team do offer consultancy (at various rates). Unfortunatly none of us are in the US, but remote support is alway a possibility.

Matt

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 27-Oct-2010 10:33:19   

1st thing about performance problems is: measure it. So attach a profiler and check where the bottlenecks are. Before that it's useless to discuss this any further. Also without details about your code / version of llblgen pro used etc. it's also useless to discuss further.

Once identified, analyze what's going on: a query which fetches 100,000 entities into memory will take a while, a very complex join over 10 tables with each millions of rows will take a while etc. Look into optimizing the logic which creates the bottleneck with for example more clever algorithms, different approaches etc.

You also don't give any information about anything in your system, so I don't really see why we're the cause of the problem. For what's worth, we do analysis of our code with every version to see how to make it faster and more efficient. With every version we've optimized bottlenecks away and made memory footprints lower, also added tweaking options for developers so they can optimize the queries executed, e.g. by using excluding fields, paging etc. Where we could, we did optimize the logic with more clever algorithms, re-using objects etc. However there's a limit to what we can do without compromising functionality, however that's not a problem actually, queries in general execute much longer than the logic used to create them.

It also is unclear whether you're talking about the designer or the runtime framework. For example we did fix a performance issue in the SQL Server driver of 3.0 recently. Also, if you're using Oracle and connecting to a db takes a long time, check whether your TSN names are set up properly.

But in short: we need more info.

I moved the thread to general.

Frans Bouma | Lead developer LLBLGen Pro