On Friday, September 29, 2017 at 3:06:03 PM UTC+3, jinsheng dou wrote:
>
> Hello
>
>    Recently, I encountered a problem with sympy 1.1.1 .  I found the my 
> program only cost 9s on my laptop(macbook pro) and but cost more than 
> 4minutes on the server(Centos), the server hardware is good enough and 
> despite the reasonable performance lost by the KVM, this gap was 
> unreasonable hug. Then I checked the cprofile result which shaw server ran 
> almost 25 times function call than the laptop one(profile result is 
> attached). I checked my conda packages list(attached), I found the sympy is 
> 1.1.1 on server but 1.0 on my laptop. I reverted the sympy to 1.0 on the 
> server, then the results are back to normal now, very close. 
>
>    BTW, The most used API of my program is geometry functions like* 
> intersection(line 
> or ray intersect with polygon),encloses_point.*
>
> *  Json.dou*
>   
>

Can you find out how `primerange` is called in your code?

Kalevi Suominen 

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/283853f6-d88f-4e9a-b55b-a2d78443bc41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to