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