slice-vs-comparison

JavaScript performance comparison

Test case created by JB

Preparation code

 
<script>
Benchmark.prototype.setup = function() {
    var unixtime = [946684800, 946771200, 946857600, 946944000, 947030400, 947116800, 947203200, 947289600, 947376000, 947462400, 947548800, 947635200, 947721600, 947808000, 947894400, 947980800, 948067200, 948153600, 948240000, 948326400, 948412800, 948499200, 948585600, 948672000, 948758400, 948844800, 948931200, 949017600, 949104000, 949190400, 949276800, 949363200, 949449600, 949536000, 949622400, 949708800, 949795200, 949881600, 949968000, 950054400, 950140800, 950227200, 950313600, 950400000, 950486400, 950572800, 950659200, 950745600, 950832000, 950918400, 951004800, 951091200, 951177600, 951264000, 951350400, 951436800, 951523200, 951609600, 951696000, 951782400, 951868800, 951955200, 952041600, 952128000, 952214400, 952300800, 952387200, 952473600, 952560000, 952646400, 952732800, 952819200, 952905600, 952992000, 953078400, 953164800, 953251200, 953337600, 953424000, 953510400, 953596800, 953683200, 953769600, 953856000, 953942400, 954028800, 954115200, 954201600, 954288000, 954374400, 954460800, 954547200, 954633600, 954720000, 954806400, 954892800, 954979200, 955065600, 955152000, 955238400, 955324800, 955411200, 955497600, 955584000, 955670400, 955756800, 955843200, 955929600, 956016000, 956102400, 956188800, 956275200, 956361600, 956448000, 956534400, 956620800, 956707200, 956793600, 956880000, 956966400, 957052800, 957139200, 957225600, 957312000, 957398400, 957484800, 957571200, 957657600, 957744000, 957830400, 957916800, 958003200, 958089600, 958176000, 958262400, 958348800, 958435200, 958521600, 958608000, 958694400, 958780800, 958867200, 958953600, 959040000, 959126400, 959212800, 959299200, 959385600, 959472000, 959558400, 959644800, 959731200, 959817600, 959904000, 959990400, 960076800, 960163200, 960249600, 960336000, 960422400, 960508800, 960595200, 960681600, 960768000, 960854400, 960940800, 961027200, 961113600, 961200000, 961286400, 961372800, 961459200, 961545600, 961632000, 961718400, 961804800, 961891200, 961977600, 962064000, 962150400, 962236800, 962323200, 962409600, 962496000, 962582400, 962668800, 962755200, 962841600, 962928000, 963014400, 963100800, 963187200, 963273600, 963360000, 963446400, 963532800, 963619200, 963705600, 963792000, 963878400, 963964800, 964051200, 964137600, 964224000, 964310400, 964396800, 964483200, 964569600, 964656000, 964742400, 964828800, 964915200, 965001600, 965088000, 965174400, 965260800, 965347200, 965433600, 965520000, 965606400, 965692800, 965779200, 965865600, 965952000, 966038400, 966124800, 966211200, 966297600, 966384000, 966470400, 966556800, 966643200, 966729600, 966816000, 966902400, 966988800, 967075200, 967161600, 967248000, 967334400, 967420800, 967507200, 967593600, 967680000, 967766400, 967852800, 967939200, 968025600, 968112000, 968198400, 968284800, 968371200, 968457600, 968544000, 968630400, 968716800, 968803200, 968889600, 968976000, 969062400, 969148800, 969235200, 969321600, 969408000, 969494400, 969580800, 969667200, 969753600, 969840000, 969926400, 970012800, 970099200, 970185600, 970272000, 970358400, 970444800, 970531200, 970617600, 970704000, 970790400, 970876800, 970963200, 971049600, 971136000, 971222400, 971308800, 971395200, 971481600, 971568000, 971654400, 971740800, 971827200, 971913600, 972000000, 972086400, 972172800, 972259200, 972345600, 972432000, 972518400, 972604800, 972691200, 972777600, 972864000, 972950400, 973036800, 973123200, 973209600, 973296000, 973382400, 973468800, 973555200, 973641600, 973728000, 973814400, 973900800, 973987200, 974073600, 974160000, 974246400, 974332800, 974419200, 974505600, 974592000, 974678400, 974764800, 974851200, 974937600, 975024000, 975110400, 975196800, 975283200, 975369600, 975456000, 975542400, 975628800, 975715200, 975801600, 975888000, 975974400, 976060800, 976147200, 976233600, 976320000, 976406400, 976492800, 976579200, 976665600, 976752000, 976838400, 976924800, 977011200, 977097600, 977184000, 977270400, 977356800, 977443200, 977529600, 977616000, 977702400, 977788800, 977875200, 977961600, 978048000, 978134400, 978220800, 978307200, 978393600, 978480000, 978566400, 978652800, 978739200, 978825600, 978912000, 978998400, 979084800, 979171200, 979257600, 979344000, 979430400, 979516800, 979603200, 979689600, 979776000, 979862400, 979948800, 980035200, 980121600, 980208000, 980294400, 980380800, 980467200, 980553600, 980640000, 980726400, 980812800, 980899200, 980985600, 981072000, 981158400, 981244800, 981331200, 981417600, 981504000, 981590400, 981676800, 981763200, 981849600, 981936000, 982022400, 982108800, 982195200, 982281600, 982368000, 982454400, 982540800, 982627200, 982713600, 982800000, 982886400, 982972800, 983059200, 983145600, 983232000, 983318400, 983404800, 983491200, 983577600, 983664000, 983750400, 983836800, 983923200, 984009600, 984096000, 984182400, 984268800, 984355200, 984441600, 984528000, 984614400, 984700800, 984787200, 984873600, 984960000, 985046400, 985132800, 985219200, 985305600, 985392000, 985478400, 985564800, 985651200, 985737600, 985824000, 985910400, 985996800, 986083200, 986169600, 986256000, 986342400, 986428800, 986515200, 986601600, 986688000, 986774400, 986860800, 986947200, 987033600, 987120000, 987206400, 987292800, 987379200, 987465600, 987552000, 987638400, 987724800, 987811200, 987897600, 987984000, 988070400, 988156800, 988243200, 988329600, 988416000, 988502400, 988588800, 988675200, 988761600, 988848000, 988934400, 989020800, 989107200, 989193600, 989280000, 989366400, 989452800, 989539200, 989625600, 989712000, 989798400, 989884800, 989971200, 990057600, 990144000, 990230400, 990316800, 990403200, 990489600, 990576000, 990662400, 990748800, 990835200, 990921600, 991008000, 991094400, 991180800, 991267200, 991353600, 991440000, 991526400, 991612800, 991699200, 991785600, 991872000, 991958400, 992044800, 992131200, 992217600, 992304000, 992390400, 992476800, 992563200, 992649600, 992736000, 992822400, 992908800, 992995200, 993081600, 993168000, 993254400, 993340800, 993427200, 993513600, 993600000, 993686400, 993772800, 993859200, 993945600, 994032000, 994118400, 994204800, 994291200, 994377600, 994464000, 994550400, 994636800, 994723200, 994809600, 994896000, 994982400, 995068800, 995155200, 995241600, 995328000, 995414400, 995500800, 995587200, 995673600, 995760000, 995846400, 995932800, 996019200, 996105600, 996192000, 996278400, 996364800, 996451200, 996537600, 996624000, 996710400, 996796800, 996883200, 996969600, 997056000, 997142400, 997228800, 997315200, 997401600, 997488000, 997574400, 997660800, 997747200, 997833600, 997920000, 998006400, 998092800, 998179200, 998265600, 998352000, 998438400, 998524800, 998611200, 998697600, 998784000, 998870400, 998956800, 999043200, 999129600, 999216000, 999302400, 999388800, 999475200, 999561600, 999648000, 999734400, 999820800, 999907200, 999993600, 1000080000, 1000166400, 1000252800, 1000339200, 1000425600, 1000512000, 1000598400, 1000684800, 1000771200, 1000857600, 1000944000, 1001030400, 1001116800, 1001203200, 1001289600, 1001376000, 1001462400, 1001548800, 1001635200, 1001721600, 1001808000, 1001894400, 1001980800, 1002067200, 1002153600, 1002240000, 1002326400, 1002412800, 1002499200, 1002585600, 1002672000, 1002758400, 1002844800, 1002931200, 1003017600, 1003104000, 1003190400, 1003276800, 1003363200, 1003449600, 1003536000, 1003622400, 1003708800, 1003795200, 1003881600, 1003968000, 1004054400, 1004140800, 1004227200, 1004313600, 1004400000, 1004486400, 1004572800, 1004659200, 1004745600, 1004832000, 1004918400, 1005004800, 1005091200, 1005177600, 1005264000, 1005350400, 1005436800, 1005523200, 1005609600, 1005696000, 1005782400, 1005868800, 1005955200, 1006041600, 1006128000, 1006214400, 1006300800, 1006387200, 1006473600, 1006560000, 1006646400, 1006732800, 1006819200, 1006905600, 1006992000, 1007078400, 1007164800, 1007251200, 1007337600, 1007424000, 1007510400, 1007596800, 1007683200, 1007769600, 1007856000, 1007942400, 1008028800, 1008115200, 1008201600, 1008288000, 1008374400, 1008460800, 1008547200, 1008633600, 1008720000, 1008806400, 1008892800, 1008979200, 1009065600, 1009152000, 1009238400, 1009324800, 1009411200, 1009497600, 1009584000, 1009670400, 1009756800, 1009843200, 1009929600, 1010016000, 1010102400, 1010188800, 1010275200, 1010361600, 1010448000, 1010534400, 1010620800, 1010707200, 1010793600, 1010880000, 1010966400, 1011052800, 1011139200, 1011225600, 1011312000, 1011398400, 1011484800, 1011571200, 1011657600, 1011744000, 1011830400, 1011916800, 1012003200, 1012089600, 1012176000, 1012262400, 1012348800, 1012435200, 1012521600, 1012608000, 1012694400, 1012780800, 1012867200, 1012953600, 1013040000, 1013126400, 1013212800, 1013299200, 1013385600, 1013472000, 1013558400, 1013644800, 1013731200, 1013817600, 1013904000, 1013990400, 1014076800, 1014163200, 1014249600, 1014336000, 1014422400, 1014508800, 1014595200, 1014681600, 1014768000, 1014854400, 1014940800, 1015027200, 1015113600, 1015200000, 1015286400, 1015372800, 1015459200, 1015545600, 1015632000, 1015718400, 1015804800, 1015891200, 1015977600, 1016064000, 1016150400, 1016236800, 1016323200, 1016409600, 1016496000, 1016582400, 1016668800, 1016755200, 1016841600, 1016928000, 1017014400, 1017100800, 1017187200, 1017273600, 1017360000, 1017446400, 1017532800, 1017619200, 1017705600, 1017792000, 1017878400, 1017964800, 1018051200, 1018137600, 1018224000, 1018310400, 1018396800, 1018483200, 1018569600, 1018656000, 1018742400, 1018828800, 1018915200, 1019001600, 1019088000, 1019174400, 1019260800, 1019347200, 1019433600, 1019520000, 1019606400, 1019692800, 1019779200, 1019865600, 1019952000, 1020038400, 1020124800, 1020211200, 1020297600, 1020384000, 1020470400, 1020556800, 1020643200, 1020729600, 1020816000, 1020902400, 1020988800, 1021075200, 1021161600, 1021248000, 1021334400, 1021420800, 1021507200, 1021593600, 1021680000, 1021766400, 1021852800, 1021939200, 1022025600, 1022112000, 1022198400, 1022284800, 1022371200, 1022457600, 1022544000, 1022630400, 1022716800, 1022803200, 1022889600, 1022976000, 1023062400, 1023148800, 1023235200, 1023321600, 1023408000, 1023494400, 1023580800, 1023667200, 1023753600, 1023840000, 1023926400, 1024012800, 1024099200, 1024185600, 1024272000, 1024358400, 1024444800, 1024531200, 1024617600, 1024704000, 1024790400, 1024876800, 1024963200, 1025049600, 1025136000, 1025222400, 1025308800, 1025395200, 1025481600, 1025568000, 1025654400, 1025740800, 1025827200, 1025913600, 1026000000, 1026086400, 1026172800, 1026259200, 1026345600, 1026432000, 1026518400, 1026604800, 1026691200, 1026777600, 1026864000, 1026950400, 1027036800, 1027123200, 1027209600, 1027296000, 1027382400, 1027468800, 1027555200, 1027641600, 1027728000, 1027814400, 1027900800, 1027987200, 1028073600, 1028160000, 1028246400, 1028332800, 1028419200, 1028505600, 1028592000, 1028678400, 1028764800, 1028851200, 1028937600, 1029024000, 1029110400, 1029196800, 1029283200, 1029369600, 1029456000, 1029542400, 1029628800, 1029715200, 1029801600, 1029888000, 1029974400, 1030060800, 1030147200, 1030233600, 1030320000, 1030406400, 1030492800, 1030579200, 1030665600, 1030752000, 1030838400, 1030924800, 1031011200, 1031097600, 1031184000, 1031270400, 1031356800, 1031443200, 1031529600, 1031616000, 1031702400, 1031788800, 1031875200, 1031961600, 1032048000, 1032134400, 1032220800, 1032307200, 1032393600, 1032480000, 1032566400, 1032652800, 1032739200, 1032825600, 1032912000, 1032998400, 1033084800, 1033171200, 1033257600, 1033344000, 1033430400, 1033516800, 1033603200, 1033689600, 1033776000, 1033862400, 1033948800, 1034035200, 1034121600, 1034208000, 1034294400, 1034380800, 1034467200, 1034553600, 1034640000, 1034726400, 1034812800, 1034899200, 1034985600, 1035072000, 1035158400, 1035244800, 1035331200, 1035417600, 1035504000, 1035590400, 1035676800, 1035763200, 1035849600, 1035936000, 1036022400, 1036108800, 1036195200, 1036281600, 1036368000, 1036454400, 1036540800, 1036627200, 1036713600, 1036800000, 1036886400, 1036972800, 1037059200, 1037145600, 1037232000, 1037318400, 1037404800, 1037491200, 1037577600, 1037664000, 1037750400, 1037836800, 1037923200, 1038009600, 1038096000, 1038182400, 1038268800, 1038355200, 1038441600, 1038528000, 1038614400, 1038700800, 1038787200, 1038873600, 1038960000, 1039046400, 1039132800, 1039219200, 1039305600, 1039392000, 1039478400, 1039564800, 1039651200, 1039737600, 1039824000, 1039910400, 1039996800, 1040083200, 1040169600, 1040256000, 1040342400, 1040428800, 1040515200, 1040601600, 1040688000, 1040774400, 1040860800, 1040947200, 1041033600, 1041120000, 1041206400, 1041292800, 1041379200, 1041465600, 1041552000, 1041638400, 1041724800, 1041811200, 1041897600, 1041984000, 1042070400, 1042156800, 1042243200, 1042329600, 1042416000, 1042502400, 1042588800, 1042675200, 1042761600, 1042848000, 1042934400, 1043020800, 1043107200, 1043193600, 1043280000, 1043366400, 1043452800, 1043539200, 1043625600, 1043712000, 1043798400, 1043884800, 1043971200, 1044057600, 1044144000, 1044230400, 1044316800, 1044403200, 1044489600, 1044576000, 1044662400, 1044748800, 1044835200, 1044921600, 1045008000, 1045094400, 1045180800, 1045267200, 1045353600, 1045440000, 1045526400, 1045612800, 1045699200, 1045785600, 1045872000, 1045958400, 1046044800, 1046131200, 1046217600, 1046304000, 1046390400, 1046476800, 1046563200, 1046649600, 1046736000, 1046822400, 1046908800, 1046995200, 1047081600, 1047168000, 1047254400, 1047340800, 1047427200, 1047513600, 1047600000, 1047686400, 1047772800, 1047859200, 1047945600, 1048032000, 1048118400, 1048204800, 1048291200, 1048377600, 1048464000, 1048550400, 1048636800, 1048723200, 1048809600, 1048896000, 1048982400, 1049068800, 1049155200, 1049241600, 1049328000, 1049414400, 1049500800, 1049587200, 1049673600, 1049760000, 1049846400, 1049932800, 1050019200, 1050105600, 1050192000, 1050278400, 1050364800, 1050451200, 1050537600, 1050624000, 1050710400, 1050796800, 1050883200, 1050969600, 1051056000, 1051142400, 1051228800, 1051315200, 1051401600, 1051488000, 1051574400, 1051660800, 1051747200, 1051833600, 1051920000, 1052006400, 1052092800, 1052179200, 1052265600, 1052352000, 1052438400, 1052524800, 1052611200, 1052697600, 1052784000, 1052870400, 1052956800, 1053043200, 1053129600, 1053216000, 1053302400, 1053388800, 1053475200, 1053561600, 1053648000, 1053734400, 1053820800, 1053907200, 1053993600, 1054080000, 1054166400, 1054252800, 1054339200, 1054425600, 1054512000, 1054598400, 1054684800, 1054771200, 1054857600, 1054944000, 1055030400, 1055116800, 1055203200, 1055289600, 1055376000, 1055462400, 1055548800, 1055635200, 1055721600, 1055808000, 1055894400, 1055980800, 1056067200, 1056153600, 1056240000, 1056326400, 1056412800, 1056499200, 1056585600, 1056672000, 1056758400, 1056844800, 1056931200, 1057017600, 1057104000, 1057190400, 1057276800, 1057363200, 1057449600, 1057536000, 1057622400, 1057708800, 1057795200, 1057881600, 1057968000, 1058054400, 1058140800, 1058227200, 1058313600, 1058400000, 1058486400, 1058572800, 1058659200, 1058745600, 1058832000, 1058918400, 1059004800, 1059091200, 1059177600, 1059264000, 1059350400, 1059436800, 1059523200, 1059609600, 1059696000, 1059782400, 1059868800, 1059955200, 1060041600, 1060128000, 1060214400, 1060300800, 1060387200, 1060473600, 1060560000, 1060646400, 1060732800, 1060819200, 1060905600, 1060992000, 1061078400, 1061164800, 1061251200, 1061337600, 1061424000, 1061510400, 1061596800, 1061683200, 1061769600, 1061856000, 1061942400, 1062028800, 1062115200, 1062201600, 1062288000, 1062374400, 1062460800, 1062547200, 1062633600, 1062720000, 1062806400, 1062892800, 1062979200, 1063065600, 1063152000, 1063238400, 1063324800, 1063411200, 1063497600, 1063584000, 1063670400, 1063756800, 1063843200, 1063929600, 1064016000, 1064102400, 1064188800, 1064275200, 1064361600, 1064448000, 1064534400, 1064620800, 1064707200, 1064793600, 1064880000, 1064966400, 1065052800, 1065139200, 1065225600, 1065312000, 1065398400, 1065484800, 1065571200, 1065657600, 1065744000, 1065830400, 1065916800, 1066003200, 1066089600, 1066176000, 1066262400, 1066348800, 1066435200, 1066521600, 1066608000, 1066694400, 1066780800, 1066867200, 1066953600, 1067040000, 1067126400, 1067212800, 1067299200, 1067385600, 1067472000, 1067558400, 1067644800, 1067731200, 1067817600, 1067904000, 1067990400, 1068076800, 1068163200, 1068249600, 1068336000, 1068422400, 1068508800, 1068595200, 1068681600, 1068768000, 1068854400, 1068940800, 1069027200, 1069113600, 1069200000, 1069286400, 1069372800, 1069459200, 1069545600, 1069632000, 1069718400, 1069804800, 1069891200, 1069977600, 1070064000, 1070150400, 1070236800, 1070323200, 1070409600, 1070496000, 1070582400, 1070668800, 1070755200, 1070841600, 1070928000, 1071014400, 1071100800, 1071187200, 1071273600, 1071360000, 1071446400, 1071532800, 1071619200, 1071705600, 1071792000, 1071878400, 1071964800, 1072051200, 1072137600, 1072224000, 1072310400, 1072396800, 1072483200, 1072569600, 1072656000, 1072742400, 1072828800, 1072915200, 1073001600, 1073088000, 1073174400, 1073260800, 1073347200, 1073433600, 1073520000, 1073606400, 1073692800, 1073779200, 1073865600, 1073952000, 1074038400, 1074124800, 1074211200, 1074297600, 1074384000, 1074470400, 1074556800, 1074643200, 1074729600, 1074816000, 1074902400, 1074988800, 1075075200, 1075161600, 1075248000, 1075334400, 1075420800, 1075507200, 1075593600, 1075680000, 1075766400, 1075852800, 1075939200, 1076025600, 1076112000, 1076198400, 1076284800, 1076371200, 1076457600, 1076544000, 1076630400, 1076716800, 1076803200, 1076889600, 1076976000, 1077062400, 1077148800, 1077235200, 1077321600, 1077408000, 1077494400, 1077580800, 1077667200, 1077753600, 1077840000, 1077926400, 1078012800, 1078099200, 1078185600, 1078272000, 1078358400, 1078444800, 1078531200, 1078617600, 1078704000, 1078790400, 1078876800, 1078963200, 1079049600, 1079136000, 1079222400, 1079308800, 1079395200, 1079481600, 1079568000, 1079654400, 1079740800, 1079827200, 1079913600, 1080000000, 1080086400, 1080172800, 1080259200, 1080345600, 1080432000, 1080518400, 1080604800, 1080691200, 1080777600, 1080864000, 1080950400, 1081036800, 1081123200, 1081209600, 1081296000, 1081382400, 1081468800, 1081555200, 1081641600, 1081728000, 1081814400, 1081900800, 1081987200, 1082073600, 1082160000, 1082246400, 1082332800, 1082419200, 1082505600, 1082592000, 1082678400, 1082764800, 1082851200, 1082937600, 1083024000, 1083110400, 1083196800, 1083283200, 1083369600, 1083456000, 1083542400, 1083628800, 1083715200, 1083801600, 1083888000, 1083974400, 1084060800, 1084147200, 1084233600, 1084320000, 1084406400, 1084492800, 1084579200, 1084665600, 1084752000, 1084838400, 1084924800, 1085011200, 1085097600, 1085184000, 1085270400, 1085356800, 1085443200, 1085529600, 1085616000, 1085702400, 1085788800, 1085875200, 1085961600, 1086048000, 1086134400, 1086220800, 1086307200, 1086393600, 1086480000, 1086566400, 1086652800, 1086739200, 1086825600, 1086912000, 1086998400, 1087084800, 1087171200, 1087257600, 1087344000, 1087430400, 1087516800, 1087603200, 1087689600, 1087776000, 1087862400, 1087948800, 1088035200, 1088121600, 1088208000, 1088294400, 1088380800, 1088467200, 1088553600, 1088640000, 1088726400, 1088812800, 1088899200, 1088985600, 1089072000, 1089158400, 1089244800, 1089331200, 1089417600, 1089504000, 1089590400, 1089676800, 1089763200, 1089849600, 1089936000, 1090022400, 1090108800, 1090195200, 1090281600, 1090368000, 1090454400, 1090540800, 1090627200, 1090713600, 1090800000, 1090886400, 1090972800, 1091059200, 1091145600, 1091232000, 1091318400, 1091404800, 1091491200, 1091577600, 1091664000, 1091750400, 1091836800, 1091923200, 1092009600, 1092096000, 1092182400, 1092268800, 1092355200, 1092441600, 1092528000, 1092614400, 1092700800, 1092787200, 1092873600, 1092960000, 1093046400, 1093132800, 1093219200, 1093305600, 1093392000, 1093478400, 1093564800, 1093651200, 1093737600, 1093824000, 1093910400, 1093996800, 1094083200, 1094169600, 1094256000, 1094342400, 1094428800, 1094515200, 1094601600, 1094688000, 1094774400, 1094860800, 1094947200, 1095033600, 1095120000, 1095206400, 1095292800, 1095379200, 1095465600, 1095552000, 1095638400, 1095724800, 1095811200, 1095897600, 1095984000, 1096070400, 1096156800, 1096243200, 1096329600, 1096416000, 1096502400, 1096588800, 1096675200, 1096761600, 1096848000, 1096934400, 1097020800, 1097107200, 1097193600, 1097280000, 1097366400, 1097452800, 1097539200, 1097625600, 1097712000, 1097798400, 1097884800, 1097971200, 1098057600, 1098144000, 1098230400, 1098316800, 1098403200, 1098489600, 1098576000, 1098662400, 1098748800, 1098835200, 1098921600, 1099008000, 1099094400, 1099180800, 1099267200, 1099353600, 1099440000, 1099526400, 1099612800, 1099699200, 1099785600, 1099872000, 1099958400, 1100044800, 1100131200, 1100217600, 1100304000, 1100390400, 1100476800, 1100563200, 1100649600, 1100736000, 1100822400, 1100908800, 1100995200, 1101081600, 1101168000, 1101254400, 1101340800, 1101427200, 1101513600, 1101600000, 1101686400, 1101772800, 1101859200, 1101945600, 1102032000, 1102118400, 1102204800, 1102291200, 1102377600, 1102464000, 1102550400, 1102636800, 1102723200, 1102809600, 1102896000, 1102982400, 1103068800, 1103155200, 1103241600, 1103328000, 1103414400, 1103500800, 1103587200, 1103673600, 1103760000, 1103846400, 1103932800, 1104019200, 1104105600, 1104192000, 1104278400, 1104364800, 1104451200, 1104537600, 1104624000, 1104710400, 1104796800, 1104883200, 1104969600, 1105056000, 1105142400, 1105228800, 1105315200, 1105401600, 1105488000, 1105574400, 1105660800, 1105747200, 1105833600, 1105920000, 1106006400, 1106092800, 1106179200, 1106265600, 1106352000, 1106438400, 1106524800, 1106611200, 1106697600, 1106784000, 1106870400, 1106956800, 1107043200, 1107129600, 1107216000, 1107302400, 1107388800, 1107475200, 1107561600, 1107648000, 1107734400, 1107820800, 1107907200, 1107993600, 1108080000, 1108166400, 1108252800, 1108339200, 1108425600, 1108512000, 1108598400, 1108684800, 1108771200, 1108857600, 1108944000, 1109030400, 1109116800, 1109203200, 1109289600, 1109376000, 1109462400, 1109548800, 1109635200, 1109721600, 1109808000, 1109894400, 1109980800, 1110067200, 1110153600, 1110240000, 1110326400, 1110412800, 1110499200, 1110585600, 1110672000, 1110758400, 1110844800, 1110931200, 1111017600, 1111104000, 1111190400, 1111276800, 1111363200, 1111449600, 1111536000, 1111622400, 1111708800, 1111795200, 1111881600, 1111968000, 1112054400, 1112140800, 1112227200, 1112313600, 1112400000, 1112486400, 1112572800, 1112659200, 1112745600, 1112832000, 1112918400, 1113004800, 1113091200, 1113177600, 1113264000, 1113350400, 1113436800, 1113523200, 1113609600, 1113696000, 1113782400, 1113868800, 1113955200, 1114041600, 1114128000, 1114214400, 1114300800, 1114387200, 1114473600, 1114560000, 1114646400, 1114732800, 1114819200, 1114905600, 1114992000, 1115078400, 1115164800, 1115251200, 1115337600, 1115424000, 1115510400, 1115596800, 1115683200, 1115769600, 1115856000, 1115942400, 1116028800, 1116115200, 1116201600, 1116288000, 1116374400, 1116460800, 1116547200, 1116633600, 1116720000, 1116806400, 1116892800, 1116979200, 1117065600, 1117152000, 1117238400, 1117324800, 1117411200, 1117497600, 1117584000, 1117670400, 1117756800, 1117843200, 1117929600, 1118016000, 1118102400, 1118188800, 1118275200, 1118361600, 1118448000, 1118534400, 1118620800, 1118707200, 1118793600, 1118880000, 1118966400, 1119052800, 1119139200, 1119225600, 1119312000, 1119398400, 1119484800, 1119571200, 1119657600, 1119744000, 1119830400, 1119916800, 1120003200, 1120089600, 1120176000, 1120262400, 1120348800, 1120435200, 1120521600, 1120608000, 1120694400, 1120780800, 1120867200, 1120953600, 1121040000, 1121126400, 1121212800, 1121299200, 1121385600, 1121472000, 1121558400, 1121644800, 1121731200, 1121817600, 1121904000, 1121990400, 1122076800, 1122163200, 1122249600, 1122336000, 1122422400, 1122508800, 1122595200, 1122681600, 1122768000, 1122854400, 1122940800, 1123027200, 1123113600, 1123200000, 1123286400, 1123372800, 1123459200, 1123545600, 1123632000, 1123718400, 1123804800, 1123891200, 1123977600, 1124064000, 1124150400, 1124236800, 1124323200, 1124409600, 1124496000, 1124582400, 1124668800, 1124755200, 1124841600, 1124928000, 1125014400, 1125100800, 1125187200, 1125273600, 1125360000, 1125446400, 1125532800, 1125619200, 1125705600, 1125792000, 1125878400, 1125964800, 1126051200, 1126137600, 1126224000, 1126310400, 1126396800, 1126483200, 1126569600, 1126656000, 1126742400, 1126828800, 1126915200, 1127001600, 1127088000, 1127174400, 1127260800, 1127347200, 1127433600, 1127520000, 1127606400, 1127692800, 1127779200, 1127865600, 1127952000, 1128038400, 1128124800, 1128211200, 1128297600, 1128384000, 1128470400, 1128556800, 1128643200, 1128729600, 1128816000, 1128902400, 1128988800, 1129075200, 1129161600, 1129248000, 1129334400, 1129420800, 1129507200, 1129593600, 1129680000, 1129766400, 1129852800, 1129939200, 1130025600, 1130112000, 1130198400, 1130284800, 1130371200, 1130457600, 1130544000, 1130630400, 1130716800, 1130803200, 1130889600, 1130976000, 1131062400, 1131148800, 1131235200, 1131321600, 1131408000, 1131494400, 1131580800, 1131667200, 1131753600, 1131840000, 1131926400, 1132012800, 1132099200, 1132185600, 1132272000, 1132358400, 1132444800, 1132531200, 1132617600, 1132704000, 1132790400, 1132876800, 1132963200, 1133049600, 1133136000, 1133222400, 1133308800, 1133395200, 1133481600, 1133568000, 1133654400, 1133740800, 1133827200, 1133913600, 1134000000, 1134086400, 1134172800, 1134259200, 1134345600, 1134432000, 1134518400, 1134604800, 1134691200, 1134777600, 1134864000, 1134950400, 1135036800, 1135123200, 1135209600, 1135296000, 1135382400, 1135468800, 1135555200, 1135641600, 1135728000, 1135814400, 1135900800, 1135987200, 1136073600, 1136160000, 1136246400, 1136332800, 1136419200, 1136505600, 1136592000, 1136678400, 1136764800, 1136851200, 1136937600, 1137024000, 1137110400, 1137196800, 1137283200, 1137369600, 1137456000, 1137542400, 1137628800, 1137715200, 1137801600, 1137888000, 1137974400, 1138060800, 1138147200, 1138233600, 1138320000, 1138406400, 1138492800, 1138579200, 1138665600, 1138752000, 1138838400, 1138924800, 1139011200, 1139097600, 1139184000, 1139270400, 1139356800, 1139443200, 1139529600, 1139616000, 1139702400, 1139788800, 1139875200, 1139961600, 1140048000, 1140134400, 1140220800, 1140307200, 1140393600, 1140480000, 1140566400, 1140652800, 1140739200, 1140825600, 1140912000, 1140998400, 1141084800, 1141171200, 1141257600, 1141344000, 1141430400, 1141516800, 1141603200, 1141689600, 1141776000, 1141862400, 1141948800, 1142035200, 1142121600, 1142208000, 1142294400, 1142380800, 1142467200, 1142553600, 1142640000, 1142726400, 1142812800, 1142899200, 1142985600, 1143072000, 1143158400, 1143244800, 1143331200, 1143417600, 1143504000, 1143590400, 1143676800, 1143763200, 1143849600, 1143936000, 1144022400, 1144108800, 1144195200, 1144281600, 1144368000, 1144454400, 1144540800, 1144627200, 1144713600, 1144800000, 1144886400, 1144972800, 1145059200, 1145145600, 1145232000, 1145318400, 1145404800, 1145491200, 1145577600, 1145664000, 1145750400, 1145836800, 1145923200, 1146009600, 1146096000, 1146182400, 1146268800, 1146355200, 1146441600, 1146528000, 1146614400, 1146700800, 1146787200, 1146873600, 1146960000, 1147046400, 1147132800, 1147219200, 1147305600, 1147392000, 1147478400, 1147564800, 1147651200, 1147737600, 1147824000, 1147910400, 1147996800, 1148083200, 1148169600, 1148256000, 1148342400, 1148428800, 1148515200, 1148601600, 1148688000, 1148774400, 1148860800, 1148947200, 1149033600, 1149120000, 1149206400, 1149292800, 1149379200, 1149465600, 1149552000, 1149638400, 1149724800, 1149811200, 1149897600, 1149984000, 1150070400, 1150156800, 1150243200, 1150329600, 1150416000, 1150502400, 1150588800, 1150675200, 1150761600, 1150848000, 1150934400, 1151020800, 1151107200, 1151193600, 1151280000, 1151366400, 1151452800, 1151539200, 1151625600, 1151712000, 1151798400, 1151884800, 1151971200, 1152057600, 1152144000, 1152230400, 1152316800, 1152403200, 1152489600, 1152576000, 1152662400, 1152748800, 1152835200, 1152921600, 1153008000, 1153094400, 1153180800, 1153267200, 1153353600, 1153440000, 1153526400, 1153612800, 1153699200, 1153785600, 1153872000, 1153958400, 1154044800, 1154131200, 1154217600, 1154304000, 1154390400, 1154476800, 1154563200, 1154649600, 1154736000, 1154822400, 1154908800, 1154995200, 1155081600, 1155168000, 1155254400, 1155340800, 1155427200, 1155513600, 1155600000, 1155686400, 1155772800, 1155859200, 1155945600, 1156032000, 1156118400, 1156204800, 1156291200, 1156377600, 1156464000, 1156550400, 1156636800, 1156723200, 1156809600, 1156896000, 1156982400, 1157068800, 1157155200, 1157241600, 1157328000, 1157414400, 1157500800, 1157587200, 1157673600, 1157760000, 1157846400, 1157932800, 1158019200, 1158105600, 1158192000, 1158278400, 1158364800, 1158451200, 1158537600, 1158624000, 1158710400, 1158796800, 1158883200, 1158969600, 1159056000, 1159142400, 1159228800, 1159315200, 1159401600, 1159488000, 1159574400, 1159660800, 1159747200, 1159833600, 1159920000, 1160006400, 1160092800, 1160179200, 1160265600, 1160352000, 1160438400, 1160524800, 1160611200, 1160697600, 1160784000, 1160870400, 1160956800, 1161043200, 1161129600, 1161216000, 1161302400, 1161388800, 1161475200, 1161561600, 1161648000, 1161734400, 1161820800, 1161907200, 1161993600, 1162080000, 1162166400, 1162252800, 1162339200, 1162425600, 1162512000, 1162598400, 1162684800, 1162771200, 1162857600, 1162944000, 1163030400, 1163116800, 1163203200, 1163289600, 1163376000, 1163462400, 1163548800, 1163635200, 1163721600, 1163808000, 1163894400, 1163980800, 1164067200, 1164153600, 1164240000, 1164326400, 1164412800, 1164499200, 1164585600, 1164672000, 1164758400, 1164844800, 1164931200, 1165017600, 1165104000, 1165190400, 1165276800, 1165363200, 1165449600, 1165536000, 1165622400, 1165708800, 1165795200, 1165881600, 1165968000, 1166054400, 1166140800, 1166227200, 1166313600, 1166400000, 1166486400, 1166572800, 1166659200, 1166745600, 1166832000, 1166918400, 1167004800, 1167091200, 1167177600, 1167264000, 1167350400, 1167436800, 1167523200, 1167609600, 1167696000, 1167782400, 1167868800, 1167955200, 1168041600, 1168128000, 1168214400, 1168300800, 1168387200, 1168473600, 1168560000, 1168646400, 1168732800, 1168819200, 1168905600, 1168992000, 1169078400, 1169164800, 1169251200, 1169337600, 1169424000, 1169510400, 1169596800, 1169683200, 1169769600, 1169856000, 1169942400, 1170028800, 1170115200, 1170201600, 1170288000, 1170374400, 1170460800, 1170547200, 1170633600, 1170720000, 1170806400, 1170892800, 1170979200, 1171065600, 1171152000, 1171238400, 1171324800, 1171411200, 1171497600, 1171584000, 1171670400, 1171756800, 1171843200, 1171929600, 1172016000, 1172102400, 1172188800, 1172275200, 1172361600, 1172448000, 1172534400, 1172620800, 1172707200, 1172793600, 1172880000, 1172966400, 1173052800, 1173139200, 1173225600, 1173312000, 1173398400, 1173484800, 1173571200, 1173657600, 1173744000, 1173830400, 1173916800, 1174003200, 1174089600, 1174176000, 1174262400, 1174348800, 1174435200, 1174521600, 1174608000, 1174694400, 1174780800, 1174867200, 1174953600, 1175040000, 1175126400, 1175212800, 1175299200, 1175385600, 1175472000, 1175558400, 1175644800, 1175731200, 1175817600, 1175904000, 1175990400, 1176076800, 1176163200, 1176249600, 1176336000, 1176422400, 1176508800, 1176595200, 1176681600, 1176768000, 1176854400, 1176940800, 1177027200, 1177113600, 1177200000, 1177286400, 1177372800, 1177459200, 1177545600, 1177632000, 1177718400, 1177804800, 1177891200, 1177977600, 1178064000, 1178150400, 1178236800, 1178323200, 1178409600, 1178496000, 1178582400, 1178668800, 1178755200, 1178841600, 1178928000, 1179014400, 1179100800, 1179187200, 1179273600, 1179360000, 1179446400, 1179532800, 1179619200, 1179705600, 1179792000, 1179878400, 1179964800, 1180051200, 1180137600, 1180224000, 1180310400, 1180396800, 1180483200, 1180569600, 1180656000, 1180742400, 1180828800, 1180915200, 1181001600, 1181088000, 1181174400, 1181260800, 1181347200, 1181433600, 1181520000, 1181606400, 1181692800, 1181779200, 1181865600, 1181952000, 1182038400, 1182124800, 1182211200, 1182297600, 1182384000, 1182470400, 1182556800, 1182643200, 1182729600, 1182816000, 1182902400, 1182988800, 1183075200, 1183161600, 1183248000, 1183334400, 1183420800, 1183507200, 1183593600, 1183680000, 1183766400, 1183852800, 1183939200, 1184025600, 1184112000, 1184198400, 1184284800, 1184371200, 1184457600, 1184544000, 1184630400, 1184716800, 1184803200, 1184889600, 1184976000, 1185062400, 1185148800, 1185235200, 1185321600, 1185408000, 1185494400, 1185580800, 1185667200, 1185753600, 1185840000, 1185926400, 1186012800, 1186099200, 1186185600, 1186272000, 1186358400, 1186444800, 1186531200, 1186617600, 1186704000, 1186790400, 1186876800, 1186963200, 1187049600, 1187136000, 1187222400, 1187308800, 1187395200, 1187481600, 1187568000, 1187654400, 1187740800, 1187827200, 1187913600, 1188000000, 1188086400, 1188172800, 1188259200, 1188345600, 1188432000, 1188518400, 1188604800, 1188691200, 1188777600, 1188864000, 1188950400, 1189036800, 1189123200, 1189209600, 1189296000, 1189382400, 1189468800, 1189555200, 1189641600, 1189728000, 1189814400, 1189900800, 1189987200, 1190073600, 1190160000, 1190246400, 1190332800, 1190419200, 1190505600, 1190592000, 1190678400, 1190764800, 1190851200, 1190937600, 1191024000, 1191110400, 1191196800, 1191283200, 1191369600, 1191456000, 1191542400, 1191628800, 1191715200, 1191801600, 1191888000, 1191974400, 1192060800, 1192147200, 1192233600, 1192320000, 1192406400, 1192492800, 1192579200, 1192665600, 1192752000, 1192838400, 1192924800, 1193011200, 1193097600, 1193184000, 1193270400, 1193356800, 1193443200, 1193529600, 1193616000, 1193702400, 1193788800, 1193875200, 1193961600, 1194048000, 1194134400, 1194220800, 1194307200, 1194393600, 1194480000, 1194566400, 1194652800, 1194739200, 1194825600, 1194912000, 1194998400, 1195084800, 1195171200, 1195257600, 1195344000, 1195430400, 1195516800, 1195603200, 1195689600, 1195776000, 1195862400, 1195948800, 1196035200, 1196121600, 1196208000, 1196294400, 1196380800, 1196467200, 1196553600, 1196640000, 1196726400, 1196812800, 1196899200, 1196985600, 1197072000, 1197158400, 1197244800, 1197331200, 1197417600, 1197504000, 1197590400, 1197676800, 1197763200, 1197849600, 1197936000, 1198022400, 1198108800, 1198195200, 1198281600, 1198368000, 1198454400, 1198540800, 1198627200, 1198713600, 1198800000, 1198886400, 1198972800, 1199059200, 1199145600, 1199232000, 1199318400, 1199404800, 1199491200, 1199577600, 1199664000, 1199750400, 1199836800, 1199923200, 1200009600, 1200096000, 1200182400, 1200268800, 1200355200, 1200441600, 1200528000, 1200614400, 1200700800, 1200787200, 1200873600, 1200960000, 1201046400, 1201132800, 1201219200, 1201305600, 1201392000, 1201478400, 1201564800, 1201651200, 1201737600, 1201824000, 1201910400, 1201996800, 1202083200, 1202169600, 1202256000, 1202342400, 1202428800, 1202515200, 1202601600, 1202688000, 1202774400, 1202860800, 1202947200, 1203033600, 1203120000, 1203206400, 1203292800, 1203379200, 1203465600, 1203552000, 1203638400, 1203724800, 1203811200, 1203897600, 1203984000, 1204070400, 1204156800, 1204243200, 1204329600, 1204416000, 1204502400, 1204588800, 1204675200, 1204761600, 1204848000, 1204934400, 1205020800, 1205107200, 1205193600, 1205280000, 1205366400, 1205452800, 1205539200, 1205625600, 1205712000, 1205798400, 1205884800, 1205971200, 1206057600, 1206144000, 1206230400, 1206316800, 1206403200, 1206489600, 1206576000, 1206662400, 1206748800, 1206835200, 1206921600, 1207008000, 1207094400, 1207180800, 1207267200, 1207353600, 1207440000, 1207526400, 1207612800, 1207699200, 1207785600, 1207872000, 1207958400, 1208044800, 1208131200, 1208217600, 1208304000, 1208390400, 1208476800, 1208563200, 1208649600, 1208736000, 1208822400]
   
    var day, month;
    var dates = {};
    var temp, time;
};
</script>

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
Slice
    for (var index = 0; index < unixtime.length; ++index) {

      temp = unixtime[index];
      time = new Date(temp * 1000);

      day = ("0" + time.getDate()).slice(-2);
      month = ("0" + (time.getMonth() + 1)).slice(-2)

      dates[index] = month + day;
    }
pending…
Not-Slice
    for (var index = 0; index < unixtime.length; ++index) {

      temp = unixtime[index];
      time = new Date(temp * 1000);

      day = addZ(time.getDate());
      month = addZ(time.getMonth());

      dates[index] = month + day;
    }

    function addZ(n) {
      return n < 10 ? '0' + n : '' + n;
    }
pending…

You can edit these tests or add even more tests to this page by appending /edit to the URL.

Compare results of other browsers

0 comments

Add a comment