Skip to main content
added 617 characters in body
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375

UPDATE: 24.03.2020

Checked this again on another machine running Windows 10 Pro x64 with Mathematica 12.0 and 12.1 installed. With version 12.0 the code below crashes the Kernel, while version 12.1 quickly returns the following:

{{0.296875, 136}, {0.15625, 158}, {0.15625, 160}, {0.109375, 
  99}, {0.09375, 99}, {0.03125, 97}, {0.078125, 129}, {0.078125, 
  124}, {0.0625, 119}, {0.09375, 104}, {0.0625, 99}, {0.46875, 
  349}, {1.3125, 487}}

So the conclusion is that the bug is fixed in version 12.1.


Original answer

UPDATE: 24.03.2020

Checked this again on another machine running Windows 10 Pro x64 with Mathematica 12.0 and 12.1 installed. With version 12.0 the code below crashes the Kernel, while version 12.1 quickly returns the following:

{{0.296875, 136}, {0.15625, 158}, {0.15625, 160}, {0.109375, 
  99}, {0.09375, 99}, {0.03125, 97}, {0.078125, 129}, {0.078125, 
  124}, {0.0625, 119}, {0.09375, 104}, {0.0625, 99}, {0.46875, 
  349}, {1.3125, 487}}

So the conclusion is that the bug is fixed in version 12.1.


Original answer

edited body
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375

I suspect that the performance degradation isn't related to the minor improvement in the algorithm ifof Integrate, but reflects some quite general bug of version 12.0. For example, FindMinimum also has twentyfold performance degradation in version 12.0 (in addition to the Kernel hang-up) as compared to 11.3:

I suspect that the performance degradation isn't related to the minor improvement in the algorithm if Integrate, but reflects some quite general bug of version 12.0. For example, FindMinimum also has twentyfold performance degradation in version 12.0 (in addition to the Kernel hang-up) as compared to 11.3:

I suspect that the performance degradation isn't related to the minor improvement in the algorithm of Integrate, but reflects some quite general bug of version 12.0. For example, FindMinimum also has twentyfold performance degradation in version 12.0 (in addition to the Kernel hang-up) as compared to 11.3:

deleted 72 characters in body
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375

No crash with versions 12.0 and 11.3 on Windows 7 x64. I've tried evaluating the code both in a fresh and non-fresh Kernel - the result is the same. I can only note that version 12.0 takes 68 seconds, while version 11.3 only 18 seconds for evaluating all the integrals. The result returned by version 12 for the last integral is mush shorter than of version 11.3, but for other integrals it has the same complexity. So the slowdown can't be justified by obtaining a simpler expression. I recommend reportinghave reported this as an additionala performance issue ([CASE: performance degradation in version 12.0 as compared to version 11.34332017]). Please take a lookLook at the timings below.

No crash with versions 12.0 and 11.3 on Windows 7 x64. I've tried evaluating the code both in a fresh and non-fresh Kernel - the result is the same. I can only note that version 12.0 takes 68 seconds, while version 11.3 only 18 seconds for evaluating all the integrals. The result returned by version 12 for the last integral is mush shorter than of version 11.3, but for other integrals it has the same complexity. So the slowdown can't be justified by obtaining a simpler expression. I recommend reporting this as an additional issue: performance degradation in version 12.0 as compared to version 11.3. Please take a look at the timings below.

No crash with versions 12.0 and 11.3 on Windows 7 x64. I've tried evaluating the code both in a fresh and non-fresh Kernel - the result is the same. I can only note that version 12.0 takes 68 seconds, while version 11.3 only 18 seconds for evaluating all the integrals. The result returned by version 12 for the last integral is mush shorter than of version 11.3, but for other integrals it has the same complexity. So the slowdown can't be justified by obtaining a simpler expression. I have reported this as a performance issue ([CASE:4332017]). Look at the timings below.

added 642 characters in body
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375
Loading
added 901 characters in body
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375
Loading
added 1937 characters in body
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375
Loading
Source Link
Alexey Popkov
  • 62.3k
  • 7
  • 154
  • 375
Loading