丁云鹏 5 months ago
parent
commit
ff1b78555c

+ 5 - 6
ad-engine-service/src/main/java/com/tzld/piaoquan/ad/engine/service/score/strategy/RankStrategyBy680.java

@@ -167,14 +167,12 @@ public class RankStrategyBy680 extends RankStrategyBasic {
                 }
                 }
             });
             });
         }
         }
-        long time31 = System.currentTimeMillis();
         try {
         try {
             cdl2.await(150, TimeUnit.MILLISECONDS);
             cdl2.await(150, TimeUnit.MILLISECONDS);
         } catch (Exception e) {
         } catch (Exception e) {
             log.error("handleE1AndE2Feature and handleD3AndB1Feature wait timeout", e);
             log.error("handleE1AndE2Feature and handleD3AndB1Feature wait timeout", e);
         }
         }
 
 
-        // feature4
         long time3 = System.currentTimeMillis();
         long time3 = System.currentTimeMillis();
         // 分桶
         // 分桶
         this.readBucketFile();
         this.readBucketFile();
@@ -246,10 +244,11 @@ public class RankStrategyBy680 extends RankStrategyBasic {
                 }
                 }
             }
             }
         }
         }
-
+        long time6 = System.currentTimeMillis();
-        log.info("cost={}, getFeature={}, handleFeature={},  similary={}, getScorerPipeline={}, adIdSize={}, adRankItemsSize={}",
+        log.info("cost={}, getFeature={}, handleFeature={},  similary={}, getScorerPipeline={}, other={} adIdSize={}," +
-                time5 - start, time1 - start, time2 - time1, time3 - time2, time4 - time3,
+                        " adRankItemsSize={}",
-                time5 - time4, request.getAdIdList().size(), adRankItems.size());
+                time6 - start, time1 - start, time2 - time1, time3 - time2, time4 - time3,
+                time5 - time4, time6 - time5, request.getAdIdList().size(), adRankItems.size());
 
 
         result.sort(ComparatorUtil.equalsRandomComparator());
         result.sort(ComparatorUtil.equalsRandomComparator());