martinfowler.com logo Home Blog Articles Books About Me Contact Me ThoughtWorks

DatabaseAndBuildTime agile 15 January 2004 Reactions

Here's an interesting contrast I recently picked up. Two enterprise application projects of a similar size (~100 KLOC), similar environments (Java and .NET). One can do a full build and test in an hour, the other takes 2-3 minutes.

So what's the difference? Our analysis so far identifies database access. Both projects have a big test suite and it's the tests that take the most of the long build time, in particular the tests that access the database - about 50% of the tests.

On the short build time project, they use a object-relational mapping layer (neo) that isolates the application from the database. Only the tests for neo hit the database, most tests are all in-memory and thus much faster.


Links
home
bliki
feed 
Translations
Japanese
Spanish
Korean
Chinese
Thai
Categories
agile
design
dsl
leisure
refactoring
ruby
thoughtWorks
tools
uml
writing
Blog Roll
ThoughtBlogs
TW Alumni
Nicholas Carr
Steve Cook
Brian Foote
Simon Harris
Gregor Hohpe
/\ndy Hunt
Ralph Johnson
Patrick Logan
David Ing
Brian Marick
Jeremy Miller
Jimmy Nilsson
Samuel Pepys
Keith Ray
Johanna Rothman
Kathy Sierra
Dave Thomas

martinfowler.com logo mingle logo thoughtworks logo

© Copyright Martin Fowler, all rights reserved