|
@@ -169,18 +169,25 @@ public class RankStrategyXGBAutoUpdateModel688 extends RankStrategyXGBBasic {
|
|
|
|
|
|
Map<String, String> d1Feature = cidFeature.getOrDefault("alg_cid_feature_vid_cf", new HashMap<>());
|
|
|
|
|
|
+ long time21 = System.currentTimeMillis();
|
|
|
this.handleB1Feature(b1Feature, cidFeatureMap, cidStr);
|
|
|
-
|
|
|
+ long time22 = System.currentTimeMillis();
|
|
|
this.handleB2ToB5AndB8ToB9Feature(cidFeature, adVerFeature, cidFeatureMap);
|
|
|
-
|
|
|
+ long time23 = System.currentTimeMillis();
|
|
|
this.handleB6ToB7Feature(cidFeature, cidFeatureMap);
|
|
|
-
|
|
|
+ long time24 = System.currentTimeMillis();
|
|
|
this.handleC1UIFeature(midTimeDiffMap, actionStaticMap, cidFeatureMap, cidStr);
|
|
|
-
|
|
|
+ long time25 = System.currentTimeMillis();
|
|
|
this.handleD1Feature(d1Feature, cidFeatureMap);
|
|
|
-
|
|
|
+ long time26 = System.currentTimeMillis();
|
|
|
this.handleD2Feature(vidRankMaps, cidFeatureMap, cidStr);
|
|
|
+ long time27 = System.currentTimeMillis();
|
|
|
|
|
|
+ log.info("cost={}, handleB1Feature={}, handleB2ToB5AndB8ToB9Feature={}, " +
|
|
|
+ "handleB6ToB7Feature={}, " +
|
|
|
+ "handleC1UIFeature={}, handleD1Feature={}, handleD2Feature={}",
|
|
|
+ time27 - time21, time22 - time21,
|
|
|
+ time23 - time22, time24 - time23, time25 - time24, time26 - time25, time27 - time26);
|
|
|
return adRankItem;
|
|
|
} finally {
|
|
|
cdl1.countDown();
|
|
@@ -190,7 +197,7 @@ public class RankStrategyXGBAutoUpdateModel688 extends RankStrategyXGBBasic {
|
|
|
futures.add(future);
|
|
|
}
|
|
|
try {
|
|
|
- cdl1.await(200, TimeUnit.MILLISECONDS);
|
|
|
+ cdl1.await(300, TimeUnit.MILLISECONDS);
|
|
|
} catch (Exception e) {
|
|
|
log.error("handleE1AndE2Feature and handleD3AndB1Feature wait timeout", e);
|
|
|
}
|