Slow listing SVN properties with SVNKit

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.6.3, 3.7.0
    • Component/s: None
    • None

      SVNKit is very slow when listing all properties on repository.

      For repository generated by gen-large-svn.py (1 mln paths)

      $ time svn proplist -R -r 1001 file:///home/czawadka/repos/large-svn/large-svn@1001
      real    0m23.147s
      user    0m18.781s
      sys     0m4.275s
      
      $ time jsvn proplist -R -r 1001 file:///home/czawadka/repos/large-svn/large-svn@1001
      real    61m52.926s
      user    59m14.678s
      sys     3m6.295s
      

      That means SVNKit (jsvn) is 400x slower then the native (svn) implementation.

      SVNKit is aware of that fact as it prepared FAQ how to deal with slow proplist - https://web.archive.org/web/20140923170354/http://wiki.svnkit.com/SVNKit_FAQ#Q:_Recursive_repository_properties_fetch.2BAFw-list_operation_is_slow._Is_it_possible_to_make_it_work_faster.3F

      Workaround

      To overcome the issue Native Subversion Client should be configured in Fisheye/Crucible.

        1. gen-large-svn.py
          2 kB
          Cezary Zawadka

              Assignee:
              Cezary Zawadka
              Reporter:
              Cezary Zawadka
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: