I apologize for the somewhat vague question; it was difficult to write. I would welcome any specific editing suggestions.
What matters in the calculation of a person's righteousness? Is it:
- Number of mitzvos vs. aveiros ( * occasions done)
- Time spent doing mitzvos vs. aveiros
( or perhaps Number or Time * weight/seriousness of each individual mitzvah)
I know it sounds odd, but I expect that most people have run in to examples of this in their personal decision-making. For example, there is the impulse to do a lot of quick positive mitzvos like count the omer, kiss the mezuze, give a penny, etc., based on the assumption that a higher number of mitzvos out of 613 is the end goal. Or, occasionally, there is a temptation to weigh mitzvos against each other based on time spent--should I do a quick aveira now in order to spend less time sinning later? (It's hard to think of examples of this, but I find it comes up for me a lot on Shabbos, especially with the quasi-precedent of " "חלל עליו שבת אחת כדי שישמור שבתות הרבה". Yishai also provided the example of doing a single aveira to acquire kosher food rather than have to eat treyfs, in which every bite is an aveira, although this points to an issue of number of aveiros rather than time.)
A really good demonstration of what I'm talking about is actually this question. It asks whether there is any point to eating something "less" treyf if you are already eating treyfs. For example, would there be a halachically-rigorous reason to abstain from pork in a non-kosher restaurant? If the answer is "yes," then this points to "number" rather than "time" being the correct calculation. If "no," that would point to "time" instead of "number."
An example that points to "number" instead of "time" is the idea that eating a bug is considered very bad because it violates many specific prohibitions per time unit (or per action).