Speed up VMDB::Util.log_duration_gz
Speed up VMDB::Util.log_duration_gz

Additionally, code is also much simpler now.

Also, this code fixes a bug when the first or last 50 lines don't contain log timestamps. Previous version would return nil in this case.

skateman/manageiq,romaintb/manageiq,hstastna/manageiq,KevinLoiseau/manageiq,romanblanco/manageiq,mkanoor/manageiq,NaNi-Z/manageiq,tinaafitz/manageiq,yaacov/manageiq,gerikis/manageiq,maas-ufcg/manageiq,agrare/manageiq,d-m-u/manageiq,andyvesel/manageiq,romaintb/manageiq,kbrock/manageiq,aufi/manageiq,chessbyte/manageiq,ailisp/manageiq,gmcculloug/manageiq,hstastna/manageiq,andyvesel/manageiq,fbladilo/manageiq,NaNi-Z/manageiq,KevinLoiseau/manageiq,pkomanek/manageiq,tinaafitz/manageiq,ilackarms/manageiq,KevinLoiseau/manageiq,juliancheal/manageiq,mkanoor/manageiq,mzazrivec/manageiq,mresti/manageiq,jntullo/manageiq,lpichler/manageiq,borod108/manageiq,andyvesel/manageiq,romanblanco/manageiq,durandom/manageiq,israel-hdez/manageiq,djberg96/manageiq,tzumainn/manageiq,fbladilo/manageiq,andyvesel/manageiq,billfitzgerald0120/manageiq,billfitzgerald0120/manageiq,NickLaMuro/manageiq,romaintb/manageiq,jameswnl/manageiq,pkomanek/manageiq,gmcculloug/manageiq,agrare/manageiq,josejulio/manageiq,romanblanco/manageiq,kbrock/manageiq,matobet/manageiq,tinaafitz/manageiq,KevinLoiseau/manageiq,tzumainn/manageiq,israel-hdez/manageiq,yaacov/manageiq,mzazrivec/manageiq,matobet/manageiq,billfitzgerald0120/manageiq,jvlcek/manageiq,gerikis/manageiq,gmcculloug/manageiq,jameswnl/manageiq,maas-ufcg/manageiq,tzumainn/manageiq,NaNi-Z/manageiq,djberg96/manageiq,mkanoor/manageiq,matobet/manageiq,mresti/manageiq,kbrock/manageiq,ManageIQ/manageiq,syncrou/manageiq,yaacov/manageiq,jrafanie/manageiq,jrafanie/manageiq,juliancheal/manageiq,KevinLoiseau/manageiq,maas-ufcg/manageiq,ManageIQ/manageiq,d-m-u/manageiq,romaintb/manageiq,mkanoor/manageiq,agrare/manageiq,skateman/manageiq,borod108/manageiq,josejulio/manageiq,mfeifer/manageiq,ilackarms/manageiq,mzazrivec/manageiq,chessbyte/manageiq,ailisp/manageiq,branic/manageiq,djberg96/manageiq,josejulio/manageiq,gmcculloug/manageiq,agrare/manageiq,syncrou/manageiq,pkomanek/manageiq,mfeifer/manageiq,djberg96/manageiq,ailisp/manageiq,israel-hdez/manageiq,aufi/manageiq,aufi/manageiq,kbrock/manageiq,jntullo/manageiq,ManageIQ/manageiq,aufi/manageiq,mfeifer/manageiq,lpichler/manageiq,billfitzgerald0120/manageiq,lpichler/manageiq,chessbyte/manageiq,romaintb/manageiq,jrafanie/manageiq,syncrou/manageiq,borod108/manageiq,NickLaMuro/manageiq,mresti/manageiq,israel-hdez/manageiq,jvlcek/manageiq,tinaafitz/manageiq,jameswnl/manageiq,ilackarms/manageiq,maas-ufcg/manageiq,pkomanek/manageiq,skateman/manageiq,d-m-u/manageiq,KevinLoiseau/manageiq,tzumainn/manageiq,josejulio/manageiq,gerikis/manageiq,ailisp/manageiq,d-m-u/manageiq,branic/manageiq,maas-ufcg/manageiq,durandom/manageiq,skateman/manageiq,juliancheal/manageiq,branic/manageiq,jntullo/manageiq,jvlcek/manageiq,fbladilo/manageiq,durandom/manageiq,NickLaMuro/manageiq,ManageIQ/manageiq,fbladilo/manageiq,NickLaMuro/manageiq,yaacov/manageiq,mzazrivec/manageiq,lpichler/manageiq,syncrou/manageiq,juliancheal/manageiq,jvlcek/manageiq,jameswnl/manageiq,maas-ufcg/manageiq,jntullo/manageiq,matobet/manageiq,hstastna/manageiq,mfeifer/manageiq,chessbyte/manageiq,branic/manageiq,romaintb/manageiq,romanblanco/manageiq,ilackarms/manageiq,NaNi-Z/manageiq,gerikis/manageiq,jrafanie/manageiq,mresti/manageiq,hstastna/manageiq,durandom/manageiq,borod108/manageiq