- 15 Jul, 2020 3 commits
-
-
rocky authored
No offset appear now when the code isn't a call from bytecode.
-
Zach S authored
* source-mapping/source-map.el (source-map-file): Add optional output-file-name argument.
-
Zach S authored
* source-mapping/source-map.el (source-map-file): Pass buffers as arguments instead of binding them to standard-input and standard-output.
-
- 14 Jul, 2020 4 commits
-
-
Zach S authored
* source-mapping/source-map.el (source-map-file): `pp-buffer' after printing.
-
Zach S authored
-
Zach S authored
* source-mapping/source-map-tests.el: New file. ERT tests for source-map.el. * source-mapping/boring-file: New file. Contains various reader syntax to test `source-map-read' and `source-map-file'.
-
Zach S authored
...and make lots of changes * source-mapping/source-map.el: New file, replacing source-object.el. (source-map-expression, source-map-list, source-map-symbol) (source-map-vector, source-map-string, source-map-number) (source-map-record, source-map-hash-table, source-map-char-table) (source-map-byte-code, source-map-other): Renamed from `source-object'. Added "code" slot that contains a string of the original form that was read. Documented slots. (source-map-top-level-form): New struct. Represents a top-level form and contains a `source-object' for that expression. (source-map-read): Skip whitespace and comments before reading. Bind a few edebug variables to avoid corrupting offset data. (source-map-file): New function. Outputs a separate file containing `source-map-top-level-form's for the supplied Elisp file.
-
- 13 Jul, 2020 5 commits
-
-
Zach S authored
* source-mapping/source-object.el: New file. The entry point is the function `source-object-read`. It uses edebug to read and store offsets of sexps in the stream, then parses them into an AST-like structure, a subtype of the cl-struct `source-object`. It contains the actual object that was read, the start and end positions in the stream, and a "members" field. For vectors and conses that field is a copy where the contents are `source-object`s of the original sequence's contents.
-
Zach S authored
-
Zach S authored
-
rocky authored
-
rocky authored
README.md: correct run script name scripts/perf-bench.sh: put in what I used last
-
- 08 Jul, 2020 9 commits
- 07 Jul, 2020 1 commit
-
-
rocky authored
README.md: instructions for what's in this directory and how to use test-debugger.elc: bytecode to run to see the new offset information test-debugger.el: source code for the above
-
- 29 Jun, 2020 4 commits
-
-
Zach S authored
-
Zach S authored
* scripts/compare-benches.el (insert-org-file-link): Call `file-relative-name` on its argument.
-
Zach S authored
-
Zach S authored
* scripts/compare-benches.el: New script. Runs elisp-benchmarks on multiple executables concurrently and collects a variety of data from it. Execute it with the -h flag for usage information. * scripts/flamegraph.pl: * scripts/difffolded.pl: Added so compare-benches.el can use them. * elisp-benchmarks-1.6/elisp-benchmarks.el (elisp-benchmarks-run): Modified to work with compare-benches.el. * elisp-benchmarks-1.6/elisp-benchmarks-orig.el: New file. Backup of original elisp-benchmarks.el. * README.md: Mention the above two changes.
-
- 26 Jun, 2020 1 commit
-
-
rocky authored
More changes Add data Remove folded files
-
- 25 Jun, 2020 1 commit
-
-
Rocky Bernstein authored
-