Display sp compute times in html
This commit is contained in:
parent
6ba2383e2f
commit
3294494c53
1 changed files with 3 additions and 1 deletions
|
@ -207,6 +207,8 @@ function calculate_skillpoints(equipment, weapon) {
|
|||
// final_skillpoints: final totals (5 individ)
|
||||
// best_total: total skillpoints assigned (number)
|
||||
const end = Date.now();
|
||||
console.log(`skillpoint calculation took ${(end-start)/ 1000} seconds.`);
|
||||
const output_msg = `skillpoint calculation took ${(end-start)/ 1000} seconds.`;
|
||||
console.log(output_msg);
|
||||
document.getElementById('stack-box').textContent = output_msg;
|
||||
return [equip_order, best_skillpoints, final_skillpoints, best_total, best_activeSetCounts];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue