Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Conversation

@hendrikvanantwerpen
Copy link
Contributor

Implements an interning Arena that is used for deduplicating symbol and scope stacks.

@hendrikvanantwerpen hendrikvanantwerpen self-assigned this Mar 15, 2023
@github-actions
Copy link

Performance Summary

Comparing base 4840877 with head bd83ec0 on microsoft/[email protected]. For details see workflow artifacts. Note that performance is tested on the last commits with changes in stack-graphs, not on every commit.

Before
--------------------------------------------------------------------------------
Command:            base/target/release/tree-sitter-stack-graphs-typescript analyze --max-file-time=30 --hide-error-details -- test/src/compiler
Massif arguments:   --massif-out-file=perf.out
ms_print arguments: --x=72 --y=12 base-perf-results/perf.out
--------------------------------------------------------------------------------


    GB
4.643^                     ##                                                 
     |                     #                                                  
     |                     #                                                  
     |                     #                                                  
     |                     #                                                  
     |                     #     ::                                 :         
     |                    :#     :                                  :     :@  
     |                    :#     :            :                     :     :@  
     |                    :#     :            :                    ::   :::@  
     |      @@  @@      @@:#     :            :                    ::   :::@  
     |      @   @       @ :#   :::        :   :                   :::   :::@  
     |      @  :@   :  :@ :#   : :     @:::  ::       :           ::: :::::@  
   0 +----------------------------------------------------------------------->Gi
     0                                                                   192.5
After
--------------------------------------------------------------------------------
Command:            head/target/release/tree-sitter-stack-graphs-typescript analyze --max-file-time=30 --hide-error-details -- test/src/compiler
Massif arguments:   --massif-out-file=perf.out
ms_print arguments: --x=72 --y=12 head-perf-results/perf.out
--------------------------------------------------------------------------------


    GB
4.835^                                                               ##       
     |                                                               #        
     |                                                               #        
     |                                                               #        
     |                                                               #        
     |                                                             ::#        
     |                  @::     @@                                 : #     @  
     |         @@       @:      @                                  : #     @  
     |         @        @:      @                                 :: #     @  
     |         @        @:     :@            :                    :: #   ::@  
     |         @   :  ::@:     :@            :                    :: #  :: @  
     |        :@   :  : @:   :::@     @@::   :       ::         :::: # ::: @  
   0 +----------------------------------------------------------------------->Gi
     0                                                                   242.3

@github-actions
Copy link

Performance Summary

Comparing base 4840877 with head 5afabb3 on microsoft/[email protected]. For details see workflow artifacts. Note that performance is tested on the last commits with changes in stack-graphs, not on every commit.

Before
--------------------------------------------------------------------------------
Command:            base/target/release/tree-sitter-stack-graphs-typescript analyze --max-file-time=30 --hide-error-details -- test/src/compiler
Massif arguments:   --massif-out-file=perf.out
ms_print arguments: --x=72 --y=12 base-perf-results/perf.out
--------------------------------------------------------------------------------


    GB
4.643^                     ##                                                 
     |                     #                                                  
     |                     #                                                  
     |                     #                                                  
     |                     #                                                  
     |                     #     ::                                 :         
     |                    :#     :                                  :     :@  
     |                    :#     :            :                     :     :@  
     |                    :#     :            :                    ::   :::@  
     |      @@  @@      @@:#     :            :                    ::   :::@  
     |      @   @       @ :#   :::        :   :                   :::   :::@  
     |      @  :@   :  :@ :#   : :     @:::  ::       :           ::: :::::@  
   0 +----------------------------------------------------------------------->Gi
     0                                                                   192.5
After
--------------------------------------------------------------------------------
Command:            head/target/release/tree-sitter-stack-graphs-typescript analyze --max-file-time=30 --hide-error-details -- test/src/compiler
Massif arguments:   --massif-out-file=perf.out
ms_print arguments: --x=72 --y=12 head-perf-results/perf.out
--------------------------------------------------------------------------------


    GB
5.064^                                ##                                      
     |                               :#                            :::    ::  
     |                        :      :#                            :::    ::  
     |                        :      :#                            :::    ::  
     |                        :      :#                            :::    ::  
     |              @@        :      :#                            :::    ::  
     |         @@:::@         :    :::#                            :::    @:  
     |         @ :::@        @:    :::#      ::                    :::   :@:  
     |        @@ :::@ @      @:    :::#      :                     :::   :@:  
     |        @@ :::@ @      @:   @:::#      :                   :::::  ::@:  
     |       :@@ :::@ @     :@:   @:::#      :                   : :::  ::@:  
     |    :  :@@ :::@ @     :@:   @:::#   :  :  :: :      :      : :::::::@:  
   0 +----------------------------------------------------------------------->Gi
     0                                                                   245.6

@github-actions
Copy link

Performance Summary

Comparing base 4840877 with head 0a3fd73 on microsoft/[email protected]. For details see workflow artifacts. Note that performance is tested on the last commits with changes in stack-graphs, not on every commit.

Before
--------------------------------------------------------------------------------
Command:            base/target/release/tree-sitter-stack-graphs-typescript analyze --max-file-time=30 --hide-error-details -- test/src/compiler
Massif arguments:   --massif-out-file=perf.out
ms_print arguments: --x=72 --y=12 base-perf-results/perf.out
--------------------------------------------------------------------------------


    GB
4.643^                     ##                                                 
     |                     #                                                  
     |                     #                                                  
     |                     #                                                  
     |                     #                                                  
     |                     #     ::                                 :         
     |                    :#     :                                  :     :@  
     |                    :#     :            :                     :     :@  
     |                    :#     :            :                    ::   :::@  
     |      @@  @@      @@:#     :            :                    ::   :::@  
     |      @   @       @ :#   :::        :   :                   :::   :::@  
     |      @  :@   :  :@ :#   : :     @:::  ::       :           ::: :::::@  
   0 +----------------------------------------------------------------------->Gi
     0                                                                   192.5
After
--------------------------------------------------------------------------------
Command:            head/target/release/tree-sitter-stack-graphs-typescript analyze --max-file-time=30 --hide-error-details -- test/src/compiler
Massif arguments:   --massif-out-file=perf.out
ms_print arguments: --x=72 --y=12 head-perf-results/perf.out
--------------------------------------------------------------------------------


    GB
9.065^                                  #                                     
     |                                  #                                     
     |                                  #                                     
     |                                  #                                     
     |                                  #                                     
     |                                  #                                     
     |                         :      ::#                           ::     :  
     |                         :      ::#                           ::     :  
     |              @          :      ::#                           ::     :  
     |         @::::@ :       ::   ::@::#      :                  @:::   :@:  
     |        @@::: @::       ::  :: @::#      :                  @:::  ::@:  
     |       :@@::: @:::     :::  :: @::#     ::  :        :     :@:::  ::@:  
   0 +----------------------------------------------------------------------->Gi
     0                                                                   254.9

@hendrikvanantwerpen hendrikvanantwerpen changed the base branch from main to stack-orientation March 20, 2023 11:03
@github-actions
Copy link

Performance Summary

Comparing base 4840877 with head 1caa5ee on microsoft/[email protected]. For details see workflow artifacts. Note that performance is tested on the last commits with changes in stack-graphs, not on every commit.

Before
--------------------------------------------------------------------------------
Command:            base/target/release/tree-sitter-stack-graphs-typescript analyze --max-file-time=30 --hide-error-details -- test/src/compiler
Massif arguments:   --massif-out-file=perf.out
ms_print arguments: --x=72 --y=12 base-perf-results/perf.out
--------------------------------------------------------------------------------


    GB
4.643^                     ##                                                 
     |                     #                                                  
     |                     #                                                  
     |                     #                                                  
     |                     #                                                  
     |                     #     ::                                 :         
     |                    :#     :                                  :     :@  
     |                    :#     :            :                     :     :@  
     |                    :#     :            :                    ::   :::@  
     |      @@  @@      @@:#     :            :                    ::   :::@  
     |      @   @       @ :#   :::        :   :                   :::   :::@  
     |      @  :@   :  :@ :#   : :     @:::  ::       :           ::: :::::@  
   0 +----------------------------------------------------------------------->Gi
     0                                                                   192.5
After
--------------------------------------------------------------------------------
Command:            head/target/release/tree-sitter-stack-graphs-typescript analyze --max-file-time=30 --hide-error-details -- test/src/compiler
Massif arguments:   --massif-out-file=perf.out
ms_print arguments: --x=72 --y=12 head-perf-results/perf.out
--------------------------------------------------------------------------------


    GB
4.773^                                                              #         
     |                    @                                         #     ::  
     |                    @                                         #     ::  
     |                    @                                         #     ::  
     |                    @                                         #     ::  
     |                    @                                         #     ::  
     |                  ::@    ::        :                        ::#    :@:  
     |         @        ::@    ::        :                        ::#    :@:  
     |         @        ::@    ::        :                       :::#    :@:  
     |     :   @      ::::@    ::        :   :                   :::#  :::@:  
     |     : ::@      ::::@  ::::       ::   :       :  :      @::::#  :::@:  
     |     : : @  :  :::::@  : ::     ::::  ::      ::  :      @::::#:::::@:  
   0 +----------------------------------------------------------------------->Gi
     0                                                                   257.7

@hendrikvanantwerpen hendrikvanantwerpen changed the title Deduplicate stacks [Performance Experiment] Deduplicate stacks Mar 30, 2023
@hendrikvanantwerpen hendrikvanantwerpen changed the title [Performance Experiment] Deduplicate stacks Deduplicate stacks Mar 30, 2023
@hendrikvanantwerpen hendrikvanantwerpen removed their assignment Jul 3, 2023
@hendrikvanantwerpen hendrikvanantwerpen self-assigned this Mar 12, 2024
@CleanCut
Copy link
Contributor

CleanCut commented Sep 9, 2025

The github/stack-graphs repository is no longer being maintained. As per #502, I'm closing all issues and pull requests before archiving the repository.

@CleanCut CleanCut closed this Sep 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants