jena-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Reynolds <dave.e.reyno...@gmail.com>
Subject Re: A time delay in ModelFactory.createDefaultModel() ?
Date Wed, 22 Dec 2010 11:06:20 GMT
On Wed, 2010-12-22 at 10:47 +0100, Damien Cram wrote: 
> Hi all,
> 
> I can't figure out why the creation of a model (Model model =
> ModelFactory.createDefaultModel()) takes some time (around half a second)
> when it is executed for the first time. From the second time on, it is
> almost instantaneous, as expected.

Not something I've noticed.

What platform are you running on?

One guess is that you are seeing the class loader delay involved in
loading large parts of Jena the first time (part of the Java price tag)
rather than any actual processing.

> Is there any way to create an empty model faster ?

No.

Dave



Mime
View raw message