Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extend analysis-stats a bit | Florian Diebold | 2020-02-15 | 2 | -14/+91 |
| | | | | | | | | | | | | This adds some tools helpful when debugging nondeterminism in analysis-stats: - a `--randomize` option that analyses everything in random order - a `-vv` option that prints even more detail Also add a debug log if Chalk fuel is exhausted (which would be a source of nondeterminism, but didn't happen in my tests). I found one source of nondeterminism (rust-lang/chalk#331), but there are still other cases remaining. | ||||
* | Fix extra parentheses warnings | Laurențiu Nicola | 2020-01-31 | 1 | -2/+2 |
| | |||||
* | Some clippy lints | kjeremy | 2020-01-13 | 1 | -1/+1 |
| | |||||
* | Dropping a reference does nothing. | kjeremy | 2020-01-13 | 1 | -1/+0 |
| | | | | Allows clippy to continue compilation | ||||
* | Remove ty from code_model | Aleksey Kladov | 2019-12-08 | 1 | -4/+11 |
| | |||||
* | Use env_logger in ra_cli | Alexander Ekdahl | 2019-11-30 | 1 | -2/+1 |
| | |||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 2 | -2/+2 |
| | |||||
* | Fill all last text to space and return the cursor | Edwin Cheng | 2019-11-26 | 1 | -1/+8 |
| | |||||
* | Remove progress bar and add a true counter | Edwin Cheng | 2019-11-26 | 3 | -29/+12 |
| | |||||
* | Remove commented code | Edwin Cheng | 2019-11-26 | 1 | -3/+0 |
| | |||||
* | Use a simple progress bar instead of indicatif | Edwin Cheng | 2019-11-26 | 3 | -10/+138 |
| | |||||
* | :arrow_up: salsa | Aleksey Kladov | 2019-11-26 | 1 | -2/+2 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -5/+6 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -2/+2 |
| | |||||
* | Add bound check | Edwin Cheng | 2019-11-17 | 1 | -2/+2 |
| | |||||
* | add --with-deps option to analysis-stats | Aleksey Kladov | 2019-10-24 | 2 | -8/+10 |
| | |||||
* | relative-path 1.0 | kjeremy | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | Prepare SourceDatabase API for lazy file loading | Aleksey Kladov | 2019-10-14 | 2 | -2/+2 |
| | |||||
* | remove one more dependency on source roots | Aleksey Kladov | 2019-10-14 | 1 | -8/+21 |
| | |||||
* | Update pico-args | kjeremy | 2019-10-02 | 1 | -4/+4 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 4 | -0/+8 |
| | | | | #1856 | ||||
* | Remove redundant clone() | Shotaro Yamada | 2019-09-25 | 1 | -1/+1 |
| | |||||
* | Merge #1862 | bors[bot] | 2019-09-17 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | 1862: Assoc item resolution refactoring (again) r=flodiebold a=flodiebold This is #1849, with the associated type selection code removed for now. Handling cycles there will need some more thought. Co-authored-by: Florian Diebold <[email protected]> | ||||
| * | Remove TraitItem and ImplItem in favor of AssocItem | Florian Diebold | 2019-09-17 | 1 | -2/+2 |
| | | |||||
* | | show error log by default | Aleksey Kladov | 2019-09-17 | 1 | -1/+1 |
|/ | |||||
* | add quiet mode to analysis-stats | Aleksey Kladov | 2019-09-12 | 3 | -82/+116 |
| | |||||
* | analysis stats uses positional arg again | Aleksey Kladov | 2019-09-12 | 1 | -2/+8 |
| | |||||
* | refactor(args): Apply comments | Geobert Quach | 2019-09-10 | 2 | -107/+79 |
| | |||||
* | refactor(args): Switch to pico-args in ra_tools | Geobert Quach | 2019-09-10 | 1 | -2/+1 |
| | |||||
* | refactor(args): Switch to pico-args | Geobert Quach | 2019-09-10 | 2 | -77/+205 |
| | |||||
* | make source_root API more abstract | Aleksey Kladov | 2019-09-06 | 1 | -2/+3 |
| | |||||
* | Make type walking infrastructure a bit nicer | Florian Diebold | 2019-09-03 | 1 | -1/+1 |
| | | | | | If/when we switch to using Chalk's Ty, we'll need to replace this by its `Fold` trait, but I didn't want to import the whole thing just yet. | ||||
* | Correctly build BodySourceMap for macro-expanded expressions | Aleksey Kladov | 2019-09-03 | 1 | -2/+5 |
| | |||||
* | Add an expr_source method analogous to the source methods in the code model | Florian Diebold | 2019-09-02 | 1 | -27/+26 |
| | | | | ... and use that instead of exposing the source map. | ||||
* | Report type mismatches in analysis-stats | Florian Diebold | 2019-09-02 | 1 | -1/+37 |
| | | | | Only the number usually; each one individually when running with -v. | ||||
* | implement durability | Aleksey Kladov | 2019-08-15 | 1 | -7/+31 |
| | |||||
* | Update crates/ra_cli/src/analysis_stats.rs | Laurențiu Nicola | 2019-08-05 | 1 | -1/+1 |
| | | | Co-Authored-By: Aleksey Kladov <[email protected]> | ||||
* | Display the parsing time in ra_cli analysis-stats | Laurențiu Nicola | 2019-08-05 | 1 | -1/+5 |
| | |||||
* | Make Analysis api cancellable | Kirill Bulatov | 2019-07-25 | 1 | -1/+1 |
| | |||||
* | rename range -> text_range | Aleksey Kladov | 2019-07-20 | 1 | -1/+1 |
| | |||||
* | move debug_dump to fmt::Debug | Aleksey Kladov | 2019-07-20 | 1 | -1/+1 |
| | |||||
* | migrate ra_cli to the new rowan | Aleksey Kladov | 2019-07-19 | 1 | -3/+3 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -1/+1 |
| | | | | this is in preparation for the new rowan API | ||||
* | account for dependencies when showing memory usage | Aleksey Kladov | 2019-07-12 | 1 | -0/+4 |
| | |||||
* | Some clippy fixes for 1.36 | Jeremy Kolb | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 3 | -8/+8 |
| | | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway | ||||
* | print memory usage for queries | Aleksey Kladov | 2019-06-30 | 2 | -3/+12 |
| | |||||
* | Move memory usage statistics to ra_prof | Aleksey Kladov | 2019-06-30 | 1 | -1/+1 |
| | |||||
* | add analysis-bench to benchmark incremental analysis | Aleksey Kladov | 2019-06-16 | 3 | -9/+149 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be used like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --complete ../chalk/chalk-engine/src/logic.rs:94:0 loading: 225.970093ms from scratch: 8.492373325s no change: 445.265µs trivial change: 95.631242ms ``` Or like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --highlight ../chalk/chalk-engine/src/logic.rs loading: 209.873484ms from scratch: 9.504916942s no change: 7.731119ms trivial change: 124.984039ms ``` "from scratch" includes initial analysis of the relevant bits of the project "no change" just asks the same question for the second time. It measures overhead on assembling the answer outside of salsa. "trivial change" doesn't do an actual salsa change, it just advances the revision. This test how fast is salsa at validating things. |