Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

Import is very slow #7

@szarnyasg

Description

@szarnyasg

Hello!

I created a fork for this issue: https://github.com/szarnyasg/4Store-API
I installed 4store on a Debian 6 virtual machine with the install-4s.sh script in the scripts directory.
The sample RDF file from http://www.govtrack.us/data/rdf/bills.099.rdf.gz in the test directory.

I compared the import times using different tools.

Import from console:

~/4Store-API/scripts$ ./httpd-start.sh && time ./curl-bills.sh 
...
201 imported successfully
This is a 4store SPARQL server v1.1.5

real    0m0.665s
user    0m0.020s
sys 0m0.004s

Import from Java with the Sail API: TestSail.java contains a JUnit test function. The import takes about 12 seconds.

Import from Java with the Store class: TestStore.java contains a JUnit test function. The import takes about 344 seconds.

Are these times normal? If not, how can I reduce the import time from Java?

Thanks,
Gabor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions