miner: log winningPoSt duration separately
This commit is contained in:
parent
25070314ce
commit
f1948d54f0
@ -423,6 +423,8 @@ func (m *Miner) mineOne(ctx context.Context, base *MiningBase) (*types.BlockMsg,
|
||||
return nil, xerrors.Errorf("failed to compute winning post proof: %w", err)
|
||||
}
|
||||
|
||||
tProof := build.Clock.Now()
|
||||
|
||||
// get pending messages early,
|
||||
msgs, err := m.api.MpoolSelect(context.TODO(), base.TipSet.Key(), ticket.Quality())
|
||||
if err != nil {
|
||||
@ -451,7 +453,8 @@ func (m *Miner) mineOne(ctx context.Context, base *MiningBase) (*types.BlockMsg,
|
||||
"tPowercheck ", tPowercheck.Sub(tDrand),
|
||||
"tTicket ", tTicket.Sub(tPowercheck),
|
||||
"tSeed ", tSeed.Sub(tTicket),
|
||||
"tPending ", tPending.Sub(tSeed),
|
||||
"tProof ", tProof.Sub(tSeed),
|
||||
"tPending ", tPending.Sub(tProof),
|
||||
"tCreateBlock ", tCreateBlock.Sub(tPending))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user