You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

fast_stack

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast_stack

0.2.0
99

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

Shell access

Supply chain risk

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Found 1 instance in 1 package

AI-detected possible typosquat

Supply chain risk

There is a package with a similar name that is downloaded much more often.

Did you mean

fast_track

Version published
Maintainers
1
Created

Fast stack Build Status

Very efficient collection of ruby backtraces, even under heavy CPU load

How do you use it?

require 'fast_stack'

Usage

def fib( n )
  return  n  if ( 0..1 ).include? n
  ( fib( n - 1 ) + fib( n - 2 ) )
end

stacks = FastStack.profile do
  fib(30)
end

puts stacks.count # => 30

Notes

This technique was conceived by https://github.com/tmm1 , big thank you.

Ruby 2.0 uses #backtrace_locations, 1.9.3 uses #backtrace

(gem template based on https://github.com/CodeMonkeySteve/fast_xor )

FAQs

Package last updated on 06 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts