Skip to content

Improving runtime performance #52

Closed
@caffeine-addictt

Description

@caffeine-addictt

Enhancement Request

Your issue may already be reported!
Please check out our active issues before creating one.

Is Your Enhancement Request Related to an Issue?

At present, a simple parallel processing takes roughly 26-30s.
image

While the synchronous equivalent takes barely half a second.
image

Why

This is because of how .kill() is implemented. Hooking to global and local trace tanks performance.

Describe the Solution You'd Like

Using the ctypes library to raise SystemExit from within the sub threads.

After switching to ctypes

image

Metadata

Metadata

Labels

Type: EnhancementSuggest an improvement for an existing feature.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions