This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Simplify (and speed-up) do_get_year


... by the way, these are the numbers for a small test, not very
accurate in timing only the relevant code (-O2, P4-2400):

 for (int i = 0; i < 5000000; ++i)
   {
     iss.str("1971");
     iterator_type is_it01(iss);
     tim_get.get_year(is_it01, end, iss, errorstate, &time01);
   }


3.4 --- 10.560u 0.000s 0:10.77 98.0% 0+0k 0+0io 195pf+0w

3.4 patched
-----------
6.570u 0.000s 0:06.70 98.0%     0+0k 0+0io 212pf+0w


Paolo.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]