1. Doug Burke
  2. swish
Issue #4 new

Speed

Doug Burke
repo owner created an issue

Swish needs profiling; I have a N3 file which cwm can read in and display in about 4 seconds whilst Swish takes over a minute.

Comments (2)

  1. Doug Burke reporter

    As an example, grab http://www.w3.org/TeamSubmission/turtle/tests/test-15.ttl and http://www.w3.org/TeamSubmission/turtle/tests/test-15.out and try (access to HTTP URIs directly from Swish will happen at some point)

    > Swish -i=test-15.ttl
    > Swish -i=test-15.out
    > Swish -i=test-15.ttl -c=test-15.out
    

    where the last line is just to check the two files encode the same information. On my laptop test-15.ttl takes about 1 minute 40s, test-15.out takes less than 2s, and the comparison takes quite a bit of time. cwm reads tst-15.ttl in less than 6 seconds.

  2. Doug Burke reporter

    Versions 0.4.0.0 and 0.5.0.0 greatly improve the input and output speeds of Swish for these files (respectively). The comparison check is still slow.

  3. Log in to comment