- 
                Notifications
    
You must be signed in to change notification settings  - Fork 22
 
Integrate Line Profiler in Codeflash CF-470 #35
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
          
     Merged
      
      
    
  
     Merged
                    Changes from 14 commits
      Commits
    
    
            Show all changes
          
          
            53 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      0e75144
              
                todo
              
              
                aseembits93 a9f6196
              
                boilerplate ready, need to fill in the gaps
              
              
                aseembits93 9ebbd61
              
                wip
              
              
                aseembits93 371ae4c
              
                Merge remote-tracking branch 'origin/main' into line-profiler
              
              
                aseembits93 f493836
              
                avoid instrument_codeflash_capture
              
              
                aseembits93 0220ee6
              
                working mvp, need to parse though
              
              
                aseembits93 339362f
              
                undo coverage util modification
              
              
                aseembits93 2f5baa9
              
                cleaning up
              
              
                aseembits93 de43f6b
              
                Merge remote-tracking branch 'origin/main' into line-profiler
              
              
                aseembits93 d171ba7
              
                adding some runconfigs
              
              
                aseembits93 8646196
              
                line profiler results are saved in a temp file, need to pass to ai se…
              
              
                aseembits93 51b8e27
              
                Merge remote-tracking branch 'origin/main' into line-profiler
              
              
                aseembits93 4247780
              
                working demo of new opt candidates with lineprof info
              
              
                aseembits93 52715ba
              
                Merge remote-tracking branch 'origin/main' into line-profiler
              
              
                aseembits93 ca0540e
              
                removing env files
              
              
                aseembits93 0a78e7e
              
                concurrent execution of new optim candidates, readonly context testing
              
              
                aseembits93 93623cb
              
                still debugging readonly context code
              
              
                aseembits93 102de11
              
                works, need to follow type hints
              
              
                aseembits93 e292831
              
                Merge remote-tracking branch 'origin/main' into line-profiler
              
              
                aseembits93 040a747
              
                exception handling when lprof fails
              
              
                aseembits93 7a413f6
              
                feedback, cleanup
              
              
                aseembits93 127f466
              
                todo, improve testing
              
              
                aseembits93 e224234
              
                cleaning
              
              
                aseembits93 3b9bee0
              
                redo newline
              
              
                aseembits93 e6a9066
              
                better test, improve testing
              
              
                aseembits93 c805624
              
                Merge remote-tracking branch 'origin/main' into line-profiler
              
              
                aseembits93 0b77d2a
              
                wip concurrent optimization loop
              
              
                aseembits93 81a6b78
              
                Merge remote-tracking branch 'origin/main' into line-profiler
              
              
                aseembits93 89e72b7
              
                refactored to make a new category for line profiler tests
              
              
                aseembits93 c00e324
              
                works for any level of nested function
              
              
                aseembits93 7ffe25f
              
                works, optimization list length will be incorrectly displayed as we a…
              
              
                aseembits93 d24d24c
              
                fix for indentation in line profiler output
              
              
                aseembits93 82f4138
              
                cleaning up
              
              
                aseembits93 29f4c1a
              
                wrote some tests for instrumentation+testrun+parsing, todo, write som…
              
              
                aseembits93 862eae8
              
                Merge branch 'main' into line-profiler
              
              
                aseembits93 ee90a08
              
                putting file restore in the finally block
              
              
                aseembits93 e17106f
              
                putting file restore in the finally block and also handling failures …
              
              
                aseembits93 b3e38f2
              
                quick fix for merge with main
              
              
                aseembits93 4af8442
              
                minor fixes
              
              
                aseembits93 d8246fc
              
                pathlib for r/w
              
              
                aseembits93 97c3cac
              
                set up empty line profile results if there's an error
              
              
                aseembits93 6418e7d
              
                better exception handling for line profiler
              
              
                aseembits93 275b88b
              
                better type hinting
              
              
                aseembits93 4b20465
              
                add line_profiler as a requirement in pyproject toml
              
              
                aseembits93 00abefb
              
                more tests
              
              
                aseembits93 0ab9dbf
              
                import order issue
              
              
                aseembits93 7e764ec
              
                Merge branch 'main' into line-profiler
              
              
                misrasaurabh1 a628dae
              
                formatting changes
              
              
                aseembits93 2abbfba
              
                moving line profiler instrument tests in a separate file
              
              
                aseembits93 b8614e0
              
                tests galore
              
              
                aseembits93 ab06721
              
                Merge remote-tracking branch 'origin/main' into line-profiler
              
              
                aseembits93 b269f87
              
                nested classes handled now
              
              
                aseembits93 3cab8ea
              
                change max workers to one
              
              
                aseembits93 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or 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,2 @@ | ||
| CODEFLASH_AIS_SERVER=local | ||
| CODEFLASH_CFAPI_SERVER=prod | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
      
      Oops, something went wrong.
      
    
  Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
      
      Oops, something went wrong.
      
    
  Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
      
      Oops, something went wrong.
      
    
  
  
    
      This file contains hidden or 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
    
  
  
    
              
                              
      
                  aseembits93 marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
            
  
    
      This file contains hidden or 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 hidden or 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 hidden or 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
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never commit.env files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's right, reason i'm doing it right now is that I usually call
git cleanfor removing concolic test dirs which accidentally deletes the env file/s. it won't be in the final pr of course.