Skip to content
Discussion options

You must be logged in to vote

2 and 3 are essentially the same since the ipc that powers commands uses custom protocols for data transfers. 2 may be a tinyyy bit faster because it has fewer "layers". probably not noticable.

1 can only be slower than 2 and 3 because there's some indirection happening iirc (the sender tells the receiver to pull the data) due to webview api (performance) limitations. it's supposed to still be reasonable fast but there's either a bug or i misunderstood the team because it's a bit slower than expected.
also apart from performance, this does not sound like a usecase for a channel api wise. they typically only make sense for usecases where you need to push data (more than once).

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mcitem
Comment options

@FabianLars
Comment options

@FabianLars
Comment options

@mcitem
Comment options

@FabianLars
Comment options

Answer selected by tomasz13nocon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants