2015-11-25 75 views
1

使用基準統計我獲得HTML頁面中的內存使用標籤,但它並沒有給我任何相關的圖,我的基準XML文件的部分是:Optaplanner;爲什麼html頁面中的內存使用標籤不起作用?

<problemBenchmarks> 
    <xStreamAnnotatedClass>org.optaplanner.examples.myproblem.domain.MySchedule</xStreamAnnotatedClass> 
    <inputSolutionFile>data/myproblem/unsolved/[26]Day(16.01.15-10.02.15).xml</inputSolutionFile> 
    <inputSolutionFile>data/myproblem/unsolved/[25]Day(16.01.15-9.02.15).xml</inputSolutionFile> 
    <inputSolutionFile>data/myproblem/unsolved/[20]Day(16.01.15-4.02.15).xml</inputSolutionFile> 
    <inputSolutionFile>data/myproblem/unsolved/[15]Day(16-30.01.15).xml</inputSolutionFile> 
    <inputSolutionFile>data/myproblem/unsolved/[10]Day(16-25.01.15).xml</inputSolutionFile> 
    <inputSolutionFile>data/myproblem/unsolved/[5]Day(16-20.01.15).xml</inputSolutionFile> 
    <inputSolutionFile>data/myproblem/unsolved/[2]Day(16,17.01.15).xml</inputSolutionFile> 
    <inputSolutionFile>data/myproblem/unsolved/[1]Day(16.01.15).xml</inputSolutionFile> 
    <problemStatisticType>BEST_SCORE</problemStatisticType> 
    <problemStatisticType>STEP_SCORE</problemStatisticType> 
    <problemStatisticType>CALCULATE_COUNT_PER_SECOND</problemStatisticType> 
    <problemStatisticType>BEST_SOLUTION_MUTATION</problemStatisticType> 
    <problemStatisticType>MOVE_COUNT_PER_STEP</problemStatisticType> 
    <problemStatisticType>MEMORY_USE</problemStatisticType> 
    <singleStatisticType>CONSTRAINT_MATCH_TOTAL_BEST_SCORE</singleStatisticType> 
    <singleStatisticType>CONSTRAINT_MATCH_TOTAL_STEP_SCORE</singleStatisticType> 
    <singleStatisticType>PICKED_MOVE_TYPE_BEST_SCORE_DIFF</singleStatisticType> 
    <singleStatisticType>PICKED_MOVE_TYPE_STEP_SCORE_DIFF</singleStatisticType> 
</problemBenchmarks> 

哪裏是我的錯誤的行動?

截屏爲Memory_Use:

enter image description here

的屏幕截圖爲BEST_SCORE,要注意的是,當我點擊了內存使用選項卡中沒有使用的最好成績標籤的變化:

enter image description here

+0

您還可以截取html顯示的問題統計信息的截圖嗎?對於每個問題文件,應該有一組選項卡,並在這些選項卡中使用內存使用選項卡。 –

+0

如果確實沒有顯示,那是一個錯誤,我需要一種方法來重現它,以便我可以修復它。但在這一點上,我只是認爲你在報告中看錯了地方。 –

+1

該選項卡出現,但是當我點擊它時沒有顯示數據,以前的數據仍然存在於圖表上。 –

回答

1

該行爲看起來類似於this jira中描述的:生成的錨點ID中的錯誤。但我不能在6.4.0.SNAPSHOT中複製它,所以我懷疑它在很久以前就被修復了(jira不能修復它)。

您應該從6.2升級到至少6.3。

+0

謝謝,很多... –

相關問題