Can analysis be made faster using Python?

So it's not slow but not really fast either.

I have already increased the threads

The program tests and saves failures and successes and then continues testing

I see that the document with errors always grows by about one kb per second but that is not particularly fast

I thought about running the program multiple times but it only gets a little faster

It shouldn't completely overwhelm my laptop, but it still feels too slow.

Is python program

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
11 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
8 months ago
  1. Analyze your program with one (or more) Profiling tools.
  2. Even without a tool to check the procedure again, it cannot hurt. See if you can simplify or summarize operations that need longer.
  3. For operations that require a lot of computing time (example: image analyses), it may be useful to outsource them into a C extension.

I’ve already raised the threads

In a standard python interpreter, this does not increase the speed in which code is processed. The GIL ensures that only one thread always performs its work at once.

You can perform several Python processes in parallel leave or switch to another base (e.g. JPython) if you want to use effective multithreading. Whether this is actually useful in your case, you can evaluate yourself.

regex9
8 months ago
Reply to  Lebensoffen

Jython is only useful if I still have javascript.

As you say, I can’t understand.

jo135
8 months ago

Is phython program

This detailed information can be used to give you an accurate analysis and suggestions for solutions in a few minutes.

jo135
8 months ago
Reply to  Lebensoffen

Well. Then you’ll have to pay a professional. If you can.

KarlRanseierIII
8 months ago

Because we don’t know anything else, it’s hard to answer. regex9 has already given basic tips.

If you are enjoying experimentation, you can also use Python 3.13 with disabled GIL and activated JIT. Possible unpredictable behaviour including:-D.

KarlRanseierIII
8 months ago
Reply to  Lebensoffen

If you think that an accelerated python will not help you, be it.

Then you have to ask back to the tearboard and the actual analysis.