Adjust runtime calculation for parallel jobs

Update runtime calculation to reflect the impact of parallel job execution, dividing the total runtime by the number of parallel runs.
This commit is contained in:
gpt-engineer-app[bot]
2025-07-12 10:56:22 +00:00
committed by PhatPhuckDave
parent b1925331ed
commit e024439cb0

View File

@@ -203,7 +203,7 @@ const JobCardDetails: React.FC<JobCardDetailsProps> = ({ job }) => {
<span>Runtime:</span>
</div>
<div className="text-sm text-white flex items-center gap-1">
{formatDuration(job.runtime)}
{formatDuration(job.runtime / (job.parallel || 1))}
<span className="text-gray-400">(</span>
{editingField === 'parallel' ? (
<Input