Rogean posted this a while back, here's the DB code.
http://codepad.org/NjMM455H
Do ((weapon damage x 2) + damage bonus)/delay and you get your approximate relative damage. It parses out very close to actual performance. Classes with higher weapon/offensive max skill get a
slight hit distribution benefit favoring pure ratio