Skip to content

Commit 46ff3e1

Browse files
pythonJaRvispythonJaRvis
authored andcommitted
update
1 parent 23ddb0e commit 46ff3e1

File tree

26 files changed

+249
-12690
lines changed

26 files changed

+249
-12690
lines changed

Jarvis/ps/TextRank4ZH/DW.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

Jarvis/ps/TextRank4ZH/EA.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"graph": {"directed": true, "nodes": {"node_d7049127": {"uid": "node_d7049127", "label": "107: __init__()", "name": "Segmentation::Segmentation.__init__"}, "node_24079be2": {"uid": "node_24079be2", "label": "118: segment()", "name": "Segmentation::Segmentation.segment"}, "node_4efa9f23": {"uid": "node_4efa9f23", "label": "85: __init__()", "name": "Segmentation::SentenceSegmentation.__init__"}, "node_7334b045": {"uid": "node_7334b045", "label": "92: segment()", "name": "Segmentation::SentenceSegmentation.segment"}, "node_36ebefa7": {"uid": "node_36ebefa7", "label": "23: __init__()", "name": "Segmentation::WordSegmentation.__init__"}, "node_625db0a2": {"uid": "node_625db0a2", "label": "40: segment()", "name": "Segmentation::WordSegmentation.segment"}, "node_9e8332eb": {"uid": "node_9e8332eb", "label": "68: segment_sentences()", "name": "Segmentation::WordSegmentation.segment_sentences"}, "node_8de14232": {"uid": "node_8de14232", "label": "16: get_default_stop_words_file()", "name": "Segmentation::get_default_stop_words_file"}, "node_bbda6570": {"uid": "node_bbda6570", "label": "18: __init__()", "name": "TextRank4Keyword::TextRank4Keyword.__init__"}, "node_66de75d6": {"uid": "node_66de75d6", "label": "43: analyze()", "name": "TextRank4Keyword::TextRank4Keyword.analyze"}, "node_40f1b960": {"uid": "node_40f1b960", "label": "111: get_keyphrases()", "name": "TextRank4Keyword::TextRank4Keyword.get_keyphrases"}, "node_147628f9": {"uid": "node_147628f9", "label": "95: get_keywords()", "name": "TextRank4Keyword::TextRank4Keyword.get_keywords"}, "node_15d1c54c": {"uid": "node_15d1c54c", "label": "18: __init__()", "name": "TextRank4Sentence::TextRank4Sentence.__init__"}, "node_104d63bc": {"uid": "node_104d63bc", "label": "43: analyze()", "name": "TextRank4Sentence::TextRank4Sentence.analyze"}, "node_c70b89f7": {"uid": "node_c70b89f7", "label": "81: __init__()", "name": "util::AttrDict.__init__"}, "node_90f7ecea": {"uid": "node_90f7ecea", "label": "32: as_text()", "name": "util::as_text"}, "node_27556645": {"uid": "node_27556645", "label": "86: combine()", "name": "util::combine"}, "node_9fda7215": {"uid": "node_9fda7215", "label": "66: debug()", "name": "util::debug"}, "node_f0b6df55": {"uid": "node_f0b6df55", "label": "169: sort_sentences()", "name": "util::sort_sentences"}, "node_4eecdbb6": {"uid": "node_4eecdbb6", "label": "126: sort_words()", "name": "util::sort_words"}}, "edges": [{"source": "node_d7049127", "target": "node_4efa9f23", "directed": true}, {"source": "node_d7049127", "target": "node_36ebefa7", "directed": true}, {"source": "node_24079be2", "target": "node_24079be2", "directed": true}, {"source": "node_24079be2", "target": "node_9e8332eb", "directed": true}, {"source": "node_24079be2", "target": "node_9e8332eb", "directed": true}, {"source": "node_24079be2", "target": "node_9e8332eb", "directed": true}, {"source": "node_24079be2", "target": "node_90f7ecea", "directed": true}, {"source": "node_4efa9f23", "target": "node_90f7ecea", "directed": true}, {"source": "node_7334b045", "target": "node_90f7ecea", "directed": true}, {"source": "node_7334b045", "target": "node_9fda7215", "directed": true}, {"source": "node_7334b045", "target": "node_9fda7215", "directed": true}, {"source": "node_36ebefa7", "target": "node_8de14232", "directed": true}, {"source": "node_36ebefa7", "target": "node_90f7ecea", "directed": true}, {"source": "node_625db0a2", "target": "node_90f7ecea", "directed": true}, {"source": "node_9e8332eb", "target": "node_625db0a2", "directed": true}, {"source": "node_bbda6570", "target": "node_d7049127", "directed": true}, {"source": "node_66de75d6", "target": "node_9fda7215", "directed": true}, {"source": "node_66de75d6", "target": "node_9fda7215", "directed": true}, {"source": "node_66de75d6", "target": "node_9fda7215", "directed": true}, {"source": "node_66de75d6", "target": "node_9fda7215", "directed": true}, {"source": "node_66de75d6", "target": "node_9fda7215", "directed": true}, {"source": "node_66de75d6", "target": "node_4eecdbb6", "directed": true}, {"source": "node_40f1b960", "target": "node_147628f9", "directed": true}, {"source": "node_15d1c54c", "target": "node_d7049127", "directed": true}, {"source": "node_104d63bc", "target": "node_f0b6df55", "directed": true}, {"source": "node_f0b6df55", "target": "node_c70b89f7", "directed": true}, {"source": "node_4eecdbb6", "target": "node_c70b89f7", "directed": true}, {"source": "node_4eecdbb6", "target": "node_27556645", "directed": true}, {"source": "node_4eecdbb6", "target": "node_9fda7215", "directed": true}]}}
1+
{"graph": {"directed": true, "nodes": {"node_b006a662": {"uid": "node_b006a662", "label": "107: __init__()", "name": "Segmentation::Segmentation.__init__"}, "node_37c8317f": {"uid": "node_37c8317f", "label": "118: segment()", "name": "Segmentation::Segmentation.segment"}, "node_1830aa78": {"uid": "node_1830aa78", "label": "85: __init__()", "name": "Segmentation::SentenceSegmentation.__init__"}, "node_36ce5a78": {"uid": "node_36ce5a78", "label": "92: segment()", "name": "Segmentation::SentenceSegmentation.segment"}, "node_13542d4c": {"uid": "node_13542d4c", "label": "23: __init__()", "name": "Segmentation::WordSegmentation.__init__"}, "node_0a5eac04": {"uid": "node_0a5eac04", "label": "40: segment()", "name": "Segmentation::WordSegmentation.segment"}, "node_ee97c7d3": {"uid": "node_ee97c7d3", "label": "68: segment_sentences()", "name": "Segmentation::WordSegmentation.segment_sentences"}, "node_9cdf238c": {"uid": "node_9cdf238c", "label": "16: get_default_stop_words_file()", "name": "Segmentation::get_default_stop_words_file"}, "node_7319d05a": {"uid": "node_7319d05a", "label": "18: __init__()", "name": "TextRank4Keyword::TextRank4Keyword.__init__"}, "node_60cd48f3": {"uid": "node_60cd48f3", "label": "43: analyze()", "name": "TextRank4Keyword::TextRank4Keyword.analyze"}, "node_8673a556": {"uid": "node_8673a556", "label": "111: get_keyphrases()", "name": "TextRank4Keyword::TextRank4Keyword.get_keyphrases"}, "node_88a3c023": {"uid": "node_88a3c023", "label": "95: get_keywords()", "name": "TextRank4Keyword::TextRank4Keyword.get_keywords"}, "node_d1e82610": {"uid": "node_d1e82610", "label": "18: __init__()", "name": "TextRank4Sentence::TextRank4Sentence.__init__"}, "node_991a1e12": {"uid": "node_991a1e12", "label": "43: analyze()", "name": "TextRank4Sentence::TextRank4Sentence.analyze"}, "node_3e07dab7": {"uid": "node_3e07dab7", "label": "81: __init__()", "name": "util::AttrDict.__init__"}, "node_7156a8f7": {"uid": "node_7156a8f7", "label": "32: as_text()", "name": "util::as_text"}, "node_d6527c95": {"uid": "node_d6527c95", "label": "86: combine()", "name": "util::combine"}, "node_1cd3570d": {"uid": "node_1cd3570d", "label": "66: debug()", "name": "util::debug"}, "node_4c46d499": {"uid": "node_4c46d499", "label": "169: sort_sentences()", "name": "util::sort_sentences"}, "node_97c55548": {"uid": "node_97c55548", "label": "126: sort_words()", "name": "util::sort_words"}}, "edges": [{"source": "node_b006a662", "target": "node_1830aa78", "directed": true}, {"source": "node_b006a662", "target": "node_13542d4c", "directed": true}, {"source": "node_37c8317f", "target": "node_37c8317f", "directed": true}, {"source": "node_37c8317f", "target": "node_ee97c7d3", "directed": true}, {"source": "node_37c8317f", "target": "node_ee97c7d3", "directed": true}, {"source": "node_37c8317f", "target": "node_ee97c7d3", "directed": true}, {"source": "node_37c8317f", "target": "node_7156a8f7", "directed": true}, {"source": "node_1830aa78", "target": "node_7156a8f7", "directed": true}, {"source": "node_36ce5a78", "target": "node_7156a8f7", "directed": true}, {"source": "node_36ce5a78", "target": "node_1cd3570d", "directed": true}, {"source": "node_36ce5a78", "target": "node_1cd3570d", "directed": true}, {"source": "node_13542d4c", "target": "node_9cdf238c", "directed": true}, {"source": "node_13542d4c", "target": "node_7156a8f7", "directed": true}, {"source": "node_0a5eac04", "target": "node_7156a8f7", "directed": true}, {"source": "node_ee97c7d3", "target": "node_0a5eac04", "directed": true}, {"source": "node_7319d05a", "target": "node_b006a662", "directed": true}, {"source": "node_60cd48f3", "target": "node_1cd3570d", "directed": true}, {"source": "node_60cd48f3", "target": "node_1cd3570d", "directed": true}, {"source": "node_60cd48f3", "target": "node_1cd3570d", "directed": true}, {"source": "node_60cd48f3", "target": "node_1cd3570d", "directed": true}, {"source": "node_60cd48f3", "target": "node_1cd3570d", "directed": true}, {"source": "node_60cd48f3", "target": "node_97c55548", "directed": true}, {"source": "node_8673a556", "target": "node_88a3c023", "directed": true}, {"source": "node_d1e82610", "target": "node_b006a662", "directed": true}, {"source": "node_991a1e12", "target": "node_4c46d499", "directed": true}, {"source": "node_4c46d499", "target": "node_3e07dab7", "directed": true}, {"source": "node_97c55548", "target": "node_3e07dab7", "directed": true}, {"source": "node_97c55548", "target": "node_d6527c95", "directed": true}, {"source": "node_97c55548", "target": "node_1cd3570d", "directed": true}]}}

Jarvis/ps/TextRank4ZH/EA.txt

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,24 @@ Code2Flow: Found variables ['Segmentation->Segmentation', 'absolute_import->UNKN
1515
Code2Flow: Skipped processing these calls because the algorithm linked them to multiple function definitions: ['UNKNOWN_VAR.__init__()', 'self.segment()'].
1616
Code2Flow: Generating output file...
1717
Code2Flow: Wrote output file '/Users/yixuanyan/yyx/github/jarvis/Jarvis/ps/TextRank4ZH/EA.json' with 20 nodes and 29 edges.
18-
Code2Flow: Code2flow finished processing in 0.03 seconds.
19-
0.13 real 0.10 user 0.02 sys
18+
Code2Flow: Code2flow finished processing in 0.02 seconds.
19+
real 0.11
20+
user 0.09
21+
sys 0.01
22+
14802944 maximum resident set size
23+
0 average shared memory size
24+
0 average unshared data size
25+
0 average unshared stack size
26+
4938 page reclaims
27+
0 page faults
28+
0 swaps
29+
0 block input operations
30+
0 block output operations
31+
0 messages sent
32+
0 messages received
33+
0 signals received
34+
5 voluntary context switches
35+
40 involuntary context switches
36+
745396531 instructions retired
37+
220264311 cycles elapsed
38+
10454208 peak memory footprint

Jarvis/ps/bpytop/DW.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

Jarvis/ps/bpytop/EA.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Jarvis/ps/bpytop/EA.txt

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,24 @@ Code2Flow: Found variables ['Any->UNKNOWN_MODULE', 'Dict->UNKNOWN_MODULE', 'Iter
99
Code2Flow: Skipped processing these calls because the algorithm linked them to multiple function definitions: ['cls._calc_size()', 'cls._draw_bg()', 'cls.clear()', 'cls.draw_bg()', 'cls.start()', 'collector._collect()', 'collector._draw()', 'sub._calc_size()', 'sub._draw_bg()'].
1010
Code2Flow: Generating output file...
1111
Code2Flow: Wrote output file '/Users/yixuanyan/yyx/github/jarvis/Jarvis/ps/bpytop/EA.json' with 110 nodes and 526 edges.
12-
Code2Flow: Code2flow finished processing in 0.74 seconds.
13-
0.92 real 0.66 user 0.06 sys
12+
Code2Flow: Code2flow finished processing in 0.53 seconds.
13+
real 1.00
14+
user 0.60
15+
sys 0.03
16+
34537472 maximum resident set size
17+
0 average shared memory size
18+
0 average unshared data size
19+
0 average unshared stack size
20+
9720 page reclaims
21+
42 page faults
22+
0 swaps
23+
0 block input operations
24+
0 block output operations
25+
0 messages sent
26+
0 messages received
27+
0 signals received
28+
86 voluntary context switches
29+
132 involuntary context switches
30+
6436796345 instructions retired
31+
1244983458 cycles elapsed
32+
30229888 peak memory footprint

Jarvis/ps/bpytop/EW.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,4 +525,23 @@ Traceback (most recent call last):
525525
File "/Users/yixuanyan/yyx/github/jarvis/venv/lib/python3.8/site-packages/code2flow/python.py", line 18, in get_call_from_func_element
526526
assert type(func) in (ast.Attribute, ast.Name, ast.Subscript, ast.Call)
527527
AssertionError
528-
3.92 real 3.56 user 0.16 sys
528+
real 3.67
529+
user 3.44
530+
sys 0.12
531+
181092352 maximum resident set size
532+
0 average shared memory size
533+
0 average unshared data size
534+
0 average unshared stack size
535+
45556 page reclaims
536+
0 page faults
537+
0 swaps
538+
0 block input operations
539+
0 block output operations
540+
0 messages sent
541+
0 messages received
542+
0 signals received
543+
507 voluntary context switches
544+
345 involuntary context switches
545+
20637977041 instructions retired
546+
6980027740 cycles elapsed
547+
177060352 peak memory footprint

Jarvis/ps/furl/EA.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

Jarvis/ps/furl/EA.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,23 @@ Code2Flow: Skipped processing these calls because the algorithm linked them to m
1717
Code2Flow: Generating output file...
1818
Code2Flow: Wrote output file '/Users/yixuanyan/yyx/github/jarvis/Jarvis/ps/furl/EA.json' with 82 nodes and 167 edges.
1919
Code2Flow: Code2flow finished processing in 0.09 seconds.
20-
0.19 real 0.16 user 0.02 sys
20+
real 0.18
21+
user 0.15
22+
sys 0.02
23+
17633280 maximum resident set size
24+
0 average shared memory size
25+
0 average unshared data size
26+
0 average unshared stack size
27+
5630 page reclaims
28+
0 page faults
29+
0 swaps
30+
0 block input operations
31+
0 block output operations
32+
0 messages sent
33+
0 messages received
34+
0 signals received
35+
10 voluntary context switches
36+
41 involuntary context switches
37+
1422134931 instructions retired
38+
344548537 cycles elapsed
39+
13292736 peak memory footprint

0 commit comments

Comments
 (0)