473,413 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

EXE is very slow by starting (>10sec.) (build with PyInstaller)

Hi,

My Python executable created with PyInstaller is too slow by starting...
It takes about 15 secs.!!!

I am using PyQt4 libraries for creating my very simple GUI-application.

-How can I SPEED UP my executable ???
-Do you know some GOOD build switches?

Thank you very much for every idea...

Best Regards

Mark
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Jun 27 '08 #1
2 6747
Mark Delon wrote:
Hi,

My Python executable created with PyInstaller is too slow by starting...
It takes about 15 secs.!!!

I am using PyQt4 libraries for creating my very simple GUI-application.

-How can I SPEED UP my executable ???
Try profiling it. I'm not an PyInstaller-user, but I could imagine that
loading Qt is pretty heavy. So you might try & import as few dependencies
as possible, as late as possible. That won't reduce the overall time
needed, but maybe get you going a bit faster so the user feedback is there.
In doubt - create a fancy splashscreen :P
-Do you know some GOOD build switches?
There is no such thing I fear.

Diez
Jun 27 '08 #2
Lie
On Jun 10, 5:29*pm, "Mark Delon" <p...@gmx.atwrote:
Hi,

My Python executable created with PyInstaller is too slow by starting...
It takes about 15 secs.!!!

I am *using PyQt4 libraries for creating my very simple GUI-application.

-How can I SPEED UP my executable ???
-Do you know some GOOD build switches?

Thank you very much for every idea...

Best Regards

Mark

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN:http://www.gmx.net/de/go/smartsurfer
Possibly you could use a splash screen and as have been said, you
should load modules as late as possible (that means the some import
statement is not positioned in the beginning of the code). You should
reach the event loop as soon as possible.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Robert Hooker | last post by:
Hi, I'm curious to know if I'm doing something wrong here, or if this is just mind-numbingly slow for a reason. In a simple WindowsFormsApplication: public Form1() { // Required for...
1
by: amessimon | last post by:
Hi I run an asp.net website on shared hosting, thie site probably gets 40-50 unique visitors a day. Ive noticed that for periods of time when the site has maybe not had visitors for maybe 20mins...
6
by: Michael | last post by:
Hi, I'm new to VB.Net but have noticed a few things about the dev interface that is really starting to get annoying. First of all, while trying to work with a form and the code module for the form...
3
by: Mario Soto | last post by:
Hi. i hava a postresql 7.4.2 in a production server. tha machine is a Pentium IV 2,6 GHZ AND 1 GB IN RAM with lINUX RH 9.0. The postresql.conf say: ...
2
by: Eduard | last post by:
I have a ASP.Net datagrid wrap in the following div: <DIV id="divPart2" style="OVERFLOW: hidden">. Another div controls the horizontal scrolling: <DIV id="scroll1" style="OVERFLOW: scroll;...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
5
by: PH | last post by:
Hi guys; I got a single processor computer, running an application that launches 2 threads. Each of these threads listens for incoming connections in a specific port, so there is a Loop ....
4
by: sommes | last post by:
It's only happen on .asp website, what's the problem? Thank you
1
by: =?Utf-8?B?RG91Zw==?= | last post by:
We have a very large code base and use the partitioned solution model for development and deployment. The problem is that in .NET 2005 the setup projects cause severe performance problems when...
5
by: lazyvlad | last post by:
Hi, I'm writing here because this issue is becoming more annoying with each day it passes. So I have a form, a dataset with a few table adapters (3 to be precise) and a datagridview.The datagridview...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.