-
Notifications
You must be signed in to change notification settings - Fork 4
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
Performance Issue #7
Comments
Version 1.4.2 incorporates the additional range functions introduced in DMN
version 1.4
Which involves lots of extra regular expression that now get compiled at
load time.
So load is slower, but execution should be faster.
pySFeel was built as the SFeel interpreter for pyDMNrules. I did not expect
anyone to use it on its own. After all, it's just another programming
language, which you call from Python, which is actually a better
programming language for almost anything you would consider doing in SFeel.
If you use version 1.3.8 you will lose some functionality and it will be
slower to execute.
Is there a specific reason why you want/need to use pySFeel as a
programming language?
pyDMNrules is meant for situation where you need a rules engine, which will
be used multiple times to make multiple decisions.
Hence start up time is less critical than is execution time. Improving the
start up time for pySFeel will improve the start up time for pyDMNrules,
but will adversely affect the execution time every time a decision has to
be made. That would be a step backwards.
Russell McDonell
…On Mon, 6 Feb 2023 at 19:10, Hasan Agha ***@***.***> wrote:
I am trying to use pySFeel library but facing some performance issues
importing the library.
When using pysfeel==1.4.2 (latest) it takes 17-20seconds to just import in
my application
When using pysfeel==1.3.10 it takes 4 seconds
When using pysfee==1.3.8 takes just 2 seconds
Can you please let us know the reason? Is it safe to use 1.3.8 with
pydmnrules latest package?
—
Reply to this email directly, view it on GitHub
<#7>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECWZEUEAZVKFFQUHMEA763WWCWW7ANCNFSM6AAAAAAUSLNJ7Y>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to use pySFeel library but facing some performance issues importing the library.
When using pysfeel==1.4.2 (latest) it takes 17-20seconds to just import in my application
When using pysfeel==1.3.10 it takes 4 seconds
When using pysfee==1.3.8 takes just 2 seconds
Can you please let us know the reason? Is it safe to use 1.3.8 with pydmnrules latest package?
The text was updated successfully, but these errors were encountered: