« Back to run

Function Details

App\Services\RedirectFlow\VoucherCreator::createVoucher

Current function

Function Call Count Self Wall Time Self CPU Self Memory Usage Self Peak Memory Usage Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Services\RedirectFlow\VoucherCreator::createVoucher
Percent of total request
1 7,758 µs 5,880 µs 14,856 bytes bytes 6,900,891 µs
(100 %)
56,929 µs
(83 %)
148,000 bytes
(58 %)
bytes
(0 %)

Parent functions

Function Call Count Self Wall Time Self CPU Self Memory Usage Self Peak Memory Usage Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
main()
Percent of total request
1 22,697 µs 10,209 µs -28,664 bytes bytes 6,926,078 µs
(100 %)
68,298 µs
(100 %)
256,824 bytes
(100 %)
bytes
(0 %)

Child functions

Function Call Count Inclusive Wall Time Inclusive CPU Inclusive Memory Usage Inclusive Peak Memory Usage
App\Services\RedirectFlow\VoucherCreator::tryToCreateSerieByPlan 1 2,332 µs 613 µs 9,800 bytes bytes
App\Services\Vouchers\CodeGenerator::generateCode 1 3,290 µs 1,152 µs 5,408 bytes bytes
App\Models\Tenant\Voucher::generateFullCode 1 µs µs 680 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::__construct 1 15 µs 16 µs 1,344 bytes bytes
App\Services\Vouchers\NextReactivateTimeCalculator::calc 1 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Relations\Pivot::getUpdatedAtColumn 2 µs µs 632 bytes bytes
Illuminate\Database\Eloquent\Builder::create 1 5,414,150 µs 38,497 µs -72,320 bytes bytes
App\Models\Tenant\VoucherSerie::recalculateQuantity 1 1,466,049 µs 6,418 µs 85,224 bytes bytes
Spatie\Activitylog\ActivityLogger::withProperty 7 115 µs 118 µs 792 bytes bytes
Illuminate\Database\Eloquent\Model::serializeDate 3 231 µs 229 µs 800 bytes bytes
App\Events\Voucher\VoucherActivated::__construct 1 µs µs 632 bytes bytes
App\Listeners\Voucher\SendStatusPageSmsNotification::handle 1 4,000 µs 2,983 µs 90,264 bytes bytes
App\Listeners\Voucher\ActivatedVoucherStatisticUpdate::handle 1 2,939 µs 1,008 µs 9,256 bytes bytes