-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from ponyisi/defer-speedup
Speed up + improvements
- Loading branch information
Showing
16 changed files
with
460 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
# Configuration has typo | ||
Inputq: [ 'gaussians/gaus_(?P<id0>[23])(?P<id>\d)', 'gaussians/gaus_5(?P<id>\d)' ] | ||
Output: [ 'gauDiv_{id0}{id}' ] | ||
Function: math.pi | ||
Description: Testing1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
# Function is not a function | ||
Input: [ 'gaussians/gaus_(?P<id0>[23])(?P<id>\d)', 'gaussians/gaus_5(?P<id>\d)' ] | ||
Output: [ 'gauDiv_{id0}{id}' ] | ||
Function: math.pi | ||
Description: Testing1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
# Bad order | ||
Input: [ 'gaussians/gaus_5(?P<id>\d)', 'gaussians/gaus_(?P<id0>[23])(?P<id>\d)' ] | ||
Output: [ 'gauDiv_{id0}{id}' ] | ||
Function: histgrinder.example.transform_function_divide_ROOT | ||
Description: Testing1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
# Function has wrong number of return arguments | ||
Input: [ 'gaussians/gaus_(?P<id0>[23])(?P<id>\d)', 'gaussians/gaus_5(?P<id>\d)' ] | ||
Output: [ 'gauDiv_{id0}{id}' ] | ||
Function: histgrinder.example.nop | ||
Description: Testing1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
# Function returns a type not handled by histgrinder | ||
Input: [ 'gaussians/gaus_(?P<id0>[23])(?P<id>\d)', 'gaussians/gaus_5(?P<id>\d)' ] | ||
Output: [ 'gauDiv_{id0}{id}' ] | ||
Function: tests.test_run.returncppstr | ||
Description: Testing1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Separate blocks with --- | ||
--- | ||
# This function takes the ratio of some histograms | ||
Input: [ 'gaussians/gaus_(?P<id0>[23])(?P<id>\d)', 'gaussians/gaus_5(?P<id>\d)' ] | ||
Output: [ 'gauDiv_{id0}{id}' ] | ||
Function: histgrinder.example.transform_function_divide_ROOT | ||
#Here is how you would pass parameters | ||
#Parameters: { variable: eta, binedges: [-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5] } | ||
Description: Testing1 | ||
--- | ||
# This function sums the ratio of some histograms | ||
Input: [ 'gaussians/gaus_(?P<id0>\d)(?P<id>\d)', 'gaussians/gaus_(?P<id0>\d)(?P<id>\d)' ] | ||
Output: [ 'gauDiv2_{id0}' ] | ||
Function: histgrinder.example.transform_function_divide2_ROOT | ||
#Here is how you would pass parameters | ||
#Parameters: { variable: eta, binedges: [-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5] } | ||
Description: Testing2 | ||
--- | ||
# This function combines multiple histograms into one | ||
Input: [ 'gaussians/gaus_(?P<id>\d+)' ] | ||
Output: [ 'gauRMS' ] | ||
Function: histgrinder.example.transform_function_rms_ROOT | ||
#Here is how you would pass parameters | ||
#Parameters: { variable: eta, binedges: [-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5] } | ||
Description: Testing3 | ||
--- | ||
# This function takes the ratio of one pair of histograms | ||
Input: [ 'gaussians/gaus_72', 'gaussians/gaus_18' ] | ||
Output: [ 'gauDivSpecial' ] | ||
Function: histgrinder.example.transform_function_divide_ROOT | ||
#Here is how you would pass parameters | ||
#Parameters: { variable: eta, binedges: [-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5] } | ||
Description: Testing4 | ||
--- | ||
# This function takes the ratio of one pair of histograms, but reversed from above | ||
Input: [ 'gaussians/gaus_18', 'gaussians/gaus_72' ] | ||
Output: [ 'gauDivSpecialInv' ] | ||
Function: histgrinder.example.transform_function_divide_ROOT | ||
#Here is how you would pass parameters | ||
#Parameters: { variable: eta, binedges: [-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5] } | ||
Description: Testing5 | ||
--- | ||
# This function does nothing | ||
Input: [ 'gaussians/graph' ] | ||
Output: [ ] | ||
Function: histgrinder.example.nop | ||
#Here is how you would pass parameters | ||
#Parameters: { variable: eta, binedges: [-2.5,-2.0,-1.5,-1.0,-0.5,0.0,0.5,1.0,1.5,2.0,2.5] } | ||
Description: Testing5 |
Oops, something went wrong.