Skip to content

Commit

Permalink
Added javadoc hinting at why emmin and emmax op rates are so different (
Browse files Browse the repository at this point in the history
  • Loading branch information
stanbrub authored Jan 23, 2024
1 parent dc630c4 commit 2538988
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
/**
* Standard tests for the updateBy table operation. Calculates a tick-based exponential moving maximum for specified
* columns and places the result into a new column for each row.
* <p/>
* Note: When there are no Group Keys, EmMaxTick has a much faster rate than EmMinTick. This is likely because of branch
* prediction on x86 systems. This disparity does not happen on Mac M1.
*/
public class EmMaxTickTest {
final StandardTestRunner runner = new StandardTestRunner(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
/**
* Standard tests for the updateBy table operation. Calculates a time-based exponential moving maximum for specified
* columns and places the result into a new column for each row.
* <p/>
* Note: When there are no Group Keys, EmMaxTime has a much faster rate than EmMinTime. This is likely because of branch
* prediction on x86 systems. This disparity does not happen on Mac M1.
*/
public class EmMaxTimeTest {
final StandardTestRunner runner = new StandardTestRunner(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
/**
* Standard tests for the updateBy table operation. Calculates a tick-based exponential moving minimum for specified
* columns and places the result into a new column for each row.
* <p/>
* Note: When there are no Group Keys, EmMinTick has a much slower rate than EmMaxTick. This is likely because of branch
* prediction on x86 systems. This disparity does not happen on Mac M1.
*/
public class EmMinTickTest {
final StandardTestRunner runner = new StandardTestRunner(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
/**
* Standard tests for the updateBy table operation. Calculates a time-based exponential moving minimum for specified
* columns and places the result into a new column for each row.
* <p/>
* Note: When there are no Group Keys, EmMinTime has a much slower rate than EmMaxTime. This is likely because of branch
* prediction on x86 systems. This disparity does not happen on Mac M1.
*/
public class EmMinTimeTest {
final StandardTestRunner runner = new StandardTestRunner(this);
Expand Down

0 comments on commit 2538988

Please sign in to comment.