Issue 3: OsgiVersionConverter could be faster without many regular expressions
Status:  Fixed
Owner:
Closed:  Nov 2008
Project Member Reported by mjryall@gmail.com, Nov 25, 2008
Profiling of Confluence start-up showed that the
DefaultOsgiVersionConverter was spending a lot of time converting version
numbers into OSGi format.

What steps will reproduce the problem?
1. Run a lot of conversions through DefaultOsgiVersionConverter (like say
10000)
2. It takes a long time.

I think it's possible to rewrite this class to use iterative methods of
String splitting and concatenation rather than regular expressions. Regexes
can take polynomial time.

See also:  issue 2 .
Nov 25, 2008
Project Member #1 mjryall@gmail.com
(No comment was entered for this change.)
Status: Fixed
Labels: Performance