IRC logs for #buildstream for Friday, 2020-07-17

*** philn has quit IRC01:40
*** tristan has quit IRC04:43
*** tristan has joined #buildstream05:13
*** ChanServ sets mode: +o tristan05:13
*** mohan43u has quit IRC06:49
*** mohan43u has joined #buildstream06:49
*** nanonyme has quit IRC06:52
*** tristan has quit IRC07:29
*** benschubert has joined #buildstream07:33
*** philn has joined #buildstream07:33
benschubertdouglaswinship: in BST 2.0 there will still be the git plugin yes. It will possibly live in the same repository as git_tag07:36
*** tristan has joined #buildstream07:36
*** ChanServ sets mode: +o tristan07:36
tristanbenschubert, how do you launch benchmarks for multiple branches ? `tox -- --config normal --show-only branch/one branch/two other_commit_sha` like that ?07:37
tristanbenchmark.py doesnt seem to parse the argv in a way that is familiar to me :-/07:38
benschuberttristan: I don't remember if that works. it's possible. Usually I was only interested in a single branch with few commits07:38
benschubertone sec07:38
tristanAh but, you were doing it for me last week07:38
tristanJust branch + commit would be equally fine07:38
benschubertI was running it twice and merging the results07:39
tristanAh I see07:39
benschubert@click.argument("candidate") -> a single commit07:39
benschubertthough a MR is welcome if you want to improve this :)07:39
benschubertthere is also `--between` to run the benchmark between master and the tip of your branch07:39
tristanI see07:40
tristantox -- --config normal --show-only tristan/variables-refactor <--- should work right ?07:40
benschubertyup07:41
tristanI'm getting https://gitlab.com/snippets/1996528 :-/07:41
benschubertoh, with --between?07:42
benschubertI might have forgotten to push a patch07:42
benschuberthttps://gitlab.com/BuildStream/benchmarking/bst-benchmarks/-/blob/master/benchmark.py#L210 remove the `git_repo` param and use `cwd=BUILDSTREAM_PATH,`  in the body07:42
tristanShould I use --between maybe ?07:42
benschubertwait no07:43
benschubertah!07:43
benschubertyou don't have `time` installed07:43
tristanWhat's that, should I add it to benchmark requirements.txt ?07:44
benschuberthttps://gitlab.com/BuildStream/benchmarking/bst-benchmarks/-/issues/107:44
benschubertapt-get install time?07:44
benschubertNo, the `time` utility :)07:44
tristanI certainly have that07:45
benschubertAre you sure you don't have the shell builtin `time` instead?07:45
tristanwhen I type `type <something>` and it shows me the real/user/sys time ?07:45
tristanI probably do07:45
tristanI see, so I need to have a binary for it07:45
tristanok07:45
benschubertwe basically need GNU time07:46
tristanbenschubert, does the benchmarks do the warmup rounds and multiple run averages by itself ?07:47
benschubertyep07:47
tristanOr I need to fiddle and collate reports07:47
tristanok good :)07:47
benschubertit's specified by the `--config`07:47
benschubertif you look into configs/ you'll see multiple .json file07:47
benschubertthey contain the information on what is going to be run07:48
tristanI'm rewriting _variables.pyx to have recursive/non-recursive paths07:49
tristanI think we can also reduce the recursion permissiveness with that too, currently it's set to 1000 recursions, but each recursion technically involves 2 stack depths07:50
tristanWe can probably say that if a variable takes more than 200 indirections to resolve, just use the non-recursive variant07:52
benschubertthat would seem sensible07:52
benschubertand 200 indirections is probably something that will be very rare07:52
tristanexactly, that is most likely already a circular reference error07:53
benschubertI like this idea07:53
tristanit will sadly be more code07:54
tristanBut eh, have to move on from perfectionism into realism and work towards 2.0 items :)07:54
tristanI have an average 0.05 seconds of variance between runs it would seem07:58
tristanAnyway, the act of changing those toplevel for Variable methods instead, doesn't change performance (some runs it's faster, some runs slower)07:59
*** tristan has quit IRC08:22
*** tristan has joined #buildstream08:30
*** ChanServ sets mode: +o tristan08:30
*** santi has joined #buildstream08:34
*** jjardon has quit IRC12:59
*** jjardon has joined #buildstream13:00
*** ChanServ sets mode: +o jjardon13:00
*** santi has quit IRC14:38
*** santi has joined #buildstream14:41
*** lchlan has quit IRC16:54
*** lchlan has joined #buildstream16:54
*** santi has quit IRC18:03
*** benschubert has quit IRC20:11

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!