$ mix profile.fprof -e "ElixirScript.Compiler.compile(URI)"
CNT ACC (ms) OWN (ms)
Total 5534687 19554.581 61222.761
:proc_lib.init_p/5 333 194820.867 19.113
:suspend 21496 167338.101 0.000
:proc_lib.init_p_do_apply/3 333 93366.534 7.201
:erlang.apply/2 337 87322.239 3.631
Task.Supervised.reply/4 332 73806.514 7.144
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Operating System: macOS | |
CPU Information: Apple M1 Pro | |
Number of Available Cores: 10 | |
Available memory: 16 GB | |
Elixir 1.17.0 | |
Erlang 27.0 | |
JIT enabled: true | |
Benchmark suite executing with the following configuration: | |
warmup: 2 s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("Hello, world"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule AppTemplate.Factory do | |
alias AppTemplate.{Repo} | |
use ExMachina.Ecto, repo: Repo | |
alias AppTemplate.Generators | |
def user_factory do | |
Generators.generate(:user) | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-08-06T19:09:38.820Z","extensionVersion":"v3.4.1"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bs4 as bs | |
import urllib.request | |
import re | |
import os | |
import nltk | |
from gensim.models import Word2Vec | |
import logging | |
import pprint | |
pp = pprint.PrettyPrinter(indent=4) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ExFactor.CodeError do | |
defexception [:message] | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-04-14T13:45:20.003Z","extensionVersion":"v3.2.8"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const StellarSDK = require('stellar-sdk') | |
const IPFS = require('ipfs') | |
const axios = require('axios') | |
/** | |
* Promisifies the initialize process of an IPFS node | |
*/ | |
function initIPFSNode() { | |
return new Promise((resolve, reject) => { | |
const node = new IPFS() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ViewService do | |
defstruct [:locahost, :port] | |
def init(host, port) do | |
%ViewService{localhost: localhost, port: port} | |
end | |
def render_view(view_service, route, data) do | |
# ... |
NewerOlder