Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating child process on each iteration #1

Merged
merged 2 commits into from
Dec 15, 2023
Merged

creating child process on each iteration #1

merged 2 commits into from
Dec 15, 2023

Conversation

Carsak
Copy link
Owner

@Carsak Carsak commented Dec 2, 2023

now each IO-blocking operation invoked in separate process

Debug log


------------------------
2023.12.02 10:44:50
Array
(
    [message] => Script ended
    [month] => 
    [start] => 1701513890.2775
    [finish] => 1701513890.4864
    [total] => 0.20886301994324
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 3
    [start] => 1701513890.6605
    [finish] => 1701513892.7036
    [total] => 2.0431530475616
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 3
    [start] => 1701513890.6605
    [finish] => 1701513892.7087
    [total] => 2.048180103302
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 10
    [start] => 1701513890.6615
    [finish] => 1701513892.7319
    [total] => 2.0703518390656
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 9
    [start] => 1701513890.6614
    [finish] => 1701513892.7352
    [total] => 2.0737991333008
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 10
    [start] => 1701513890.6615
    [finish] => 1701513892.737
    [total] => 2.0755269527435
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 1
    [start] => 1701513890.648
    [finish] => 1701513892.7364
    [total] => 2.0884811878204
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 9
    [start] => 1701513890.6614
    [finish] => 1701513892.7389
    [total] => 2.0775599479675
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 1
    [start] => 1701513890.648
    [finish] => 1701513892.7398
    [total] => 2.0918211936951
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 7
    [start] => 1701513890.6606
    [finish] => 1701513892.75
    [total] => 2.0894131660461
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 7
    [start] => 1701513890.6606
    [finish] => 1701513892.7546
    [total] => 2.094053030014
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 6
    [start] => 1701513890.809
    [finish] => 1701513892.7664
    [total] => 1.9574861526489
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 6
    [start] => 1701513890.809
    [finish] => 1701513892.7706
    [total] => 1.9616100788116
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 2
    [start] => 1701513890.6608
    [finish] => 1701513892.7962
    [total] => 2.13547706604
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 2
    [start] => 1701513890.6608
    [finish] => 1701513892.8012
    [total] => 2.140426158905
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 4
    [start] => 1701513890.6613
    [finish] => 1701513892.8998
    [total] => 2.2385802268982
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 12
    [start] => 1701513890.6605
    [finish] => 1701513892.9014
    [total] => 2.2408649921417
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 4
    [start] => 1701513890.6613
    [finish] => 1701513892.9047
    [total] => 2.2434561252594
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 12
    [start] => 1701513890.6605
    [finish] => 1701513892.9048
    [total] => 2.2443058490753
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 5
    [start] => 1701513890.6606
    [finish] => 1701513892.9034
    [total] => 2.2427599430084
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 5
    [start] => 1701513890.6606
    [finish] => 1701513892.9071
    [total] => 2.246435880661
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 11
    [start] => 1701513890.6622
    [finish] => 1701513892.9282
    [total] => 2.2660479545593
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 11
    [start] => 1701513890.6622
    [finish] => 1701513892.9328
    [total] => 2.2706441879272
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process On event
    [month] => 8
    [start] => 1701513890.6607
    [finish] => 1701513892.9854
    [total] => 2.3247010707855
)

------------------------

------------------------
2023.12.02 10:44:52
Array
(
    [message] => Child process close event
    [month] => 8
    [start] => 1701513890.6607
    [finish] => 1701513892.9901
    [total] => 2.3293850421906
)

------------------------

@Carsak Carsak merged commit 2af8c3f into main Dec 15, 2023
@Carsak Carsak deleted the process branch February 19, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant